mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
Fix up less than
comparison
This commit is contained in:
parent
e6926b6fe0
commit
3683e9d436
4 changed files with 52 additions and 8 deletions
|
@ -1382,7 +1382,7 @@ fn gte_u8() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn lt_u64() {
|
||||
assert_evals_to!("1u64 < 2u64", true, bool);
|
||||
assert_evals_to!("1u64 < 1u64", false, bool);
|
||||
|
@ -1422,7 +1422,7 @@ fn gte_u64() {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
|
||||
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm", feature = "gen-dev"))]
|
||||
fn lt_i64() {
|
||||
assert_evals_to!("1 < 2", true, bool);
|
||||
assert_evals_to!("1 < 1", false, bool);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue