Skip to content

Commit

Permalink
Fix error message of assert_ne() to use !=
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix authored and Yoorkin committed Mar 11, 2024
1 parent b40d878 commit c830f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assertion/assertion.mbt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn assert_ne[T : Debug + Eq](a : T, b : T) -> Result[Unit, String] {
} else {
let a = debug_string(a)
let b = debug_string(b)
Err("assertion failed for `\(a) == \(b)`")
Err("assertion failed for `\(a) != \(b)`")
}
}

Expand Down

0 comments on commit c830f0c

Please sign in to comment.