Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Apr 23, 2024
1 parent 88cdb52 commit 4943e9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/db_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ fn test_multiple_user_sessions() {
assert_eq!(result.email.expect("is some"), TEST_EMAIL_1);
assert_eq!(result.avatar_url.expect("is some"), TEST_URL_1);
assert_eq!(result.github_url, TEST_URL_2);
assert_eq!(result.is_admin, true);

assert!(result.is_admin);
let result = db.get_user_for_session(session2).expect("result is ok");
assert_eq!(result.github_login, TEST_LOGIN_1);

Expand Down

0 comments on commit 4943e9a

Please sign in to comment.