Fix up less than comparison

This commit is contained in:
Ahmad Sattar 2023-01-18 20:21:15 +01:00
parent e6926b6fe0
commit 3683e9d436
No known key found for this signature in database
GPG key ID: 6EAC5AB400A49604
4 changed files with 52 additions and 8 deletions

View file

@ -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);