Skip to content

Commit

Permalink
use false pattern match since it does not warn anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Oct 12, 2021
1 parent bd95939 commit 637385b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests.gr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let mut totalErr = 0
let check = (a, b, msg: String) => {
match (a == b) {
true => Ok(String.concat("✅ PASS\t\t", msg)),
_ => {
false => {
totalErr += 1
print("===== Expected: =====")
print(a)
Expand Down

0 comments on commit 637385b

Please sign in to comment.