v/vlib/builtin/bare/.checks/string/string.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)
}