From 7dc1691633be3f782ff8102f515bc42a44b9bfe2 Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Thu, 31 Mar 2022 23:16:03 -0500 Subject: [PATCH] Fix missing assert --- contracts/cw20-ics20/src/ibc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/cw20-ics20/src/ibc.rs b/contracts/cw20-ics20/src/ibc.rs index 80433da32..f5f2dc213 100644 --- a/contracts/cw20-ics20/src/ibc.rs +++ b/contracts/cw20-ics20/src/ibc.rs @@ -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 @@ -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