Use MIN associated const (#9199)

This commit is contained in:
Squirrel authored and GitHub committed 2021-06-24 15:48:39 +01:00
1 parent eac38de198
commit 20347c2edb
7 files changed
+32 -32

No files matched your search

@@ -230,7 +230,7 @@ wasm_export_functions! {
assert_eq!(*val, test_api::get_and_return_u128(*val));
}
for val in &[i128::MAX, i128::min_value(), 1i128, 5000i128, u64::MAX as i128] {
for val in &[i128::MAX, i128::MIN, 1i128, 5000i128, u64::MAX as i128] {
assert_eq!(*val, test_api::get_and_return_i128(*val));
}
}