Skip to content

Commit

Permalink
feat: added asserts to multi-test contracts(#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
P-Yevhenii authored Nov 10, 2021
1 parent af6881e commit 4aeee4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions contracts/terraswap_factory/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,9 @@ fn create_and_register_pair_with_reply() {
)
.unwrap();

assert_ne!("", res.contract_addr.to_string());
assert_ne!("", res.liquidity_token.to_string());
assert_eq!("Contract #0", factory_instance.to_string());
assert_eq!("Contract #1", res.contract_addr.to_string());
assert_eq!("Contract #2", res.liquidity_token.to_string());
assert_eq!(start_time, res.start_time);
assert_eq!(end_time, res.end_time);
assert_eq!(asset_infos, res.asset_infos);
Expand Down

0 comments on commit 4aeee4d

Please sign in to comment.