mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
test: capture message with .stderr_contains
This commit is contained in:
committed by
Sylvestre Ledru
parent
cf2fa7c556
commit
a1596caa8c
@@ -477,7 +477,8 @@ fn test_touch_reference_dangling() {
|
||||
dangling_symlink.to_str().unwrap(),
|
||||
"some_file",
|
||||
])
|
||||
.fails();
|
||||
.fails()
|
||||
.stderr_contains("touch: failed to get attributes of");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user