Skip to content

Commit

Permalink
fix(lint): simplify assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Feb 9, 2023
1 parent b955d74 commit fd08d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/cw-logic-sample/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ mod tests {
)
.unwrap();
let value: AskResponse = from_binary(&res).unwrap();
assert_eq!(true, value.answer.unwrap().success);
assert!(value.answer.unwrap().success);
}
}

0 comments on commit fd08d58

Please sign in to comment.