Skip to content

Commit

Permalink
Changed as per Lint suggested
Browse files Browse the repository at this point in the history
  • Loading branch information
postmeback committed Aug 6, 2023
1 parent 7a3c97e commit 7c176e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boa_interner/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ fn check_empty_interner() {

let sym = sym_from_usize(123); // Choose an arbitrary symbol

assert_eq!(interner.resolve(sym).is_none(), true);
assert!(interner.resolve(sym).is_none());
}

#[test]
Expand All @@ -128,5 +128,5 @@ fn check_capacity() {

let sym = sym_from_usize(123); // Choose an arbitrary symbol

assert_eq!(interner.resolve(sym).is_none(), true);
assert!(interner.resolve(sym).is_none());
}

0 comments on commit 7c176e6

Please sign in to comment.