Skip to content

Commit 8cc9878

Browse files
committed
test/compile-fail: fix expected error message for non-UTF8 source.
1 parent 07d4f77 commit 8cc9878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/not-utf8.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: is not UTF-8
11+
// error-pattern: did not contain valid UTF-8
1212

1313
fn foo() {
1414
include!("not-utf8.bin")

0 commit comments

Comments
 (0)