Skip to content

Commit

Permalink
Test both possible outcomes
Browse files Browse the repository at this point in the history
  • Loading branch information
lrazovic authored and mbrubeck committed Jul 19, 2021
1 parent 9d3ee51 commit 69826fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ fn empty() {
let mut cache = TestCache::default();
assert_eq!(cache.is_empty(), true);
assert_eq!(items(&mut cache), []);
cache.insert(1);
assert_eq!(cache.is_empty(), false);
}

#[test]
Expand Down

0 comments on commit 69826fd

Please sign in to comment.