Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Feb 11, 2025
1 parent 0f16983 commit 69f0db1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vlib/v/tests/array_fixed_ternary_test.v
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ fn test_main() {

a := if true { [0]! } else { [1]! }
b := if true { [0] } else { [1] }
dump(a)
dump(b)
assert a.str() == '[0]'
assert b.str() == '[0]'
}

fn test_match() {
Expand All @@ -24,5 +24,5 @@ fn test_match() {
5 { ['Big', '5x5']! }
else { ['Large', '6x6']! }
}
dump(w)
assert w.str() == "['Large', '6x6']"
}

0 comments on commit 69f0db1

Please sign in to comment.