Skip to content

Commit 6593563

Browse files
committed
Check that getcwd does not error
1 parent 5cf90bc commit 6593563

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/run-pass/get_current_dir.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// ignore-windows: TODO the windows hook is not done yet
2+
3+
fn main() {
4+
std::env::current_dir().unwrap();
5+
}

0 commit comments

Comments
 (0)