Skip to content

Commit

Permalink
Fix missing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
giansalex committed Apr 1, 2022
1 parent f0731c0 commit 7dc1691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/cw20-ics20/src/ibc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ mod test {
res.messages[0]
);
let ack: Ics20Ack = from_binary(&res.acknowledgement).unwrap();
matches!(ack, Ics20Ack::Result(_));
assert!(matches!(ack, Ics20Ack::Result(_)));

// TODO: we need to call the reply block

Expand Down Expand Up @@ -616,7 +616,7 @@ mod test {
res.messages[0]
);
let ack: Ics20Ack = from_binary(&res.acknowledgement).unwrap();
matches!(ack, Ics20Ack::Result(_));
assert!(matches!(ack, Ics20Ack::Result(_)));

// only need to call reply block on error case

Expand Down

0 comments on commit 7dc1691

Please sign in to comment.