Skip to content

Commit 5880e7d

Browse files
committed
Update expected error messages in tests.
1 parent 6628275 commit 5880e7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/compile-fail/fs/isolated_file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ignore-windows: File handling is not implemented yet
2-
// error-pattern: `open` not available when isolation is enabled
2+
// error-pattern: open not available when isolation is enabled
33

44
fn main() {
55
let _file = std::fs::File::open("file.txt").unwrap();

tests/compile-fail/fs/isolated_stdin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extern crate libc;
77
fn main() -> std::io::Result<()> {
88
let mut bytes = [0u8; 512];
99
unsafe {
10-
libc::read(0, bytes.as_mut_ptr() as *mut libc::c_void, 512); //~ ERROR `read` not available when isolation is enabled
10+
libc::read(0, bytes.as_mut_ptr() as *mut libc::c_void, 512); //~ ERROR read not available when isolation is enabled
1111
}
1212
Ok(())
1313
}

0 commit comments

Comments
 (0)