Skip to content

Commit

Permalink
test(ui): Test that no pattern matches any subjects.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Jul 27, 2023
1 parent b291dc3 commit 1dcdf6c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ mod tests {

use super::*;

#[test]
fn test_no_pattern() {
let matcher = FuzzyMatcher::new();

assert!(matcher.fuzzy_match("hello"));
}

#[test]
fn test_literal() {
let matcher = FuzzyMatcher::new();
Expand Down

0 comments on commit 1dcdf6c

Please sign in to comment.