mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
16 lines
234 B
V
16 lines
234 B
V
|
module main
|
||
|
|
||
|
fn check_string_eq () {
|
||
|
println ("checking string_eq")
|
||
|
assert "monkey" != "rat"
|
||
|
some_animal := "a bird"
|
||
|
assert some_animal == "a bird"
|
||
|
println ("string_eq passed")
|
||
|
}
|
||
|
|
||
|
fn main () {
|
||
|
check_string_eq ()
|
||
|
sys_exit(0)
|
||
|
}
|
||
|
|