mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 19:56:20 +00:00
Use MIN associated const (#9199)
This commit is contained in:
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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user