Skip to content

Commit 3cf52c1

Browse files
committed
Skip test on Windows
1 parent e009889 commit 3cf52c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

os/test/src/ReadingWritingTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ object ReadingWritingTests extends TestSuite {
125125
}
126126
}
127127
test("outputStreamWithPerms") {
128-
test - prep { wd =>
128+
test - prep { wd => if (!scala.util.Properties.isWin) {
129129
val out = os.write.outputStream(wd / "New File.txt", perms = os.PermSet(420))
130130
out.write('H')
131131
out.write('e')
@@ -135,7 +135,7 @@ object ReadingWritingTests extends TestSuite {
135135
out.close()
136136

137137
os.read(wd / "New File.txt") ==> "Hello"
138-
}
138+
}}
139139
}
140140
}
141141
test("truncate") {

0 commit comments

Comments
 (0)