From 1d8381064a69c3a14f5023b730b6fecd4673199a Mon Sep 17 00:00:00 2001 From: Thomas Queiroz Date: Sun, 24 Oct 2021 02:16:22 -0300 Subject: [PATCH] tests/uniq: update test --- tests/by-util/test_uniq.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_uniq.rs b/tests/by-util/test_uniq.rs index c191ffcaf..cd013891b 100644 --- a/tests/by-util/test_uniq.rs +++ b/tests/by-util/test_uniq.rs @@ -145,7 +145,9 @@ fn test_invalid_utf8() { .arg("not-utf8-sequence.txt") .run() .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]