1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

tests/uniq: update test

This commit is contained in:
Thomas Queiroz 2021-10-24 02:16:22 -03:00
parent ea9b239841
commit 1d8381064a
No known key found for this signature in database
GPG key ID: 229D2DDF7ECA5F8F

View file

@ -145,7 +145,9 @@ fn test_invalid_utf8() {
.arg("not-utf8-sequence.txt") .arg("not-utf8-sequence.txt")
.run() .run()
.failure() .failure()
.stderr_only("uniq: invalid utf-8 sequence of 1 bytes from index 0"); .stderr_only(
"uniq: failed to convert line to utf8: invalid utf-8 sequence of 1 bytes from index 0",
);
} }
#[test] #[test]