Skip to content

Commit

Permalink
Remove unchecked math from test
Browse files Browse the repository at this point in the history
  • Loading branch information
athei committed Jul 1, 2023
1 parent 8f676a0 commit 5ccc098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/cargo-contract/tests/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fn encode_works() {
#[ink(message, selector = 0xBABABABA)]
pub fn inc(&mut self, by: i32) {
self.value += by;
self.value.saturating_add(by);
}
#[ink(message, selector = 0xCACACACA)]
Expand Down

0 comments on commit 5ccc098

Please sign in to comment.