Skip to content

Commit

Permalink
test: add more cases
Browse files Browse the repository at this point in the history
  • Loading branch information
shulaoda committed Dec 27, 2024
1 parent a060b85 commit 79e9af1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ mod tests {
assert!(glob_match(&"**/*".to_string(), "foo"));
assert!(glob_match("**/*".to_string(), "foo".to_string()));
assert!(glob_match(&"**/*".to_string(), &"foo".to_string()));

assert!(glob_match("**/*".as_bytes(), "foo"));
assert!(glob_match("**/*".as_bytes(), "foo".as_bytes()));
assert!(glob_match("**/*".as_bytes(), "foo".to_string()));
}

#[test]
Expand Down

0 comments on commit 79e9af1

Please sign in to comment.