Skip to content

Commit 50f3796

Browse files
committed
Auto merge of #1506 - RalfJung:test-isolation, r=RalfJung
make sure opening a file fails with isolation enabled
2 parents 1edd231 + da2260d commit 50f3796

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// ignore-windows: File handling is not implemented yet
2+
// error-pattern: `open` not available when isolation is enabled
3+
4+
fn main() {
5+
let _file = std::fs::File::open("file.txt").unwrap();
6+
}

0 commit comments

Comments
 (0)