Skip to content

Commit e77671d

Browse files
committed
Clarify failing test
1 parent 15dc93a commit e77671d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,9 +954,11 @@ mod test {
954954

955955
#[test]
956956
fn test_absolute_pattern() {
957+
assert!(glob("/").unwrap().next().is_some());
958+
assert!(glob("//").unwrap().next().is_some());
959+
957960
// assume that the filesystem is not empty!
958961
assert!(glob("/*").unwrap().next().is_some());
959-
assert!(glob("//").unwrap().next().is_some());
960962

961963
#[cfg(not(windows))] fn win() {}
962964

0 commit comments

Comments
 (0)