Skip to content

Commit

Permalink
more explicit test assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Nov 3, 2024
1 parent e59f41d commit 89ce42a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biscuit-auth/tests/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,5 @@ fn json() {
$value.get("roles").contains("admin");"#
);

assert!(biscuit.authorize(&authorizer).is_ok());
assert_eq!(biscuit.authorize(&authorizer).unwrap(), 0);
}

0 comments on commit 89ce42a

Please sign in to comment.