Skip to content

Commit 8bbf28b

Browse files
committed
In tests use tmp dir working on all operating systems
After this change tests pass also on Windows.
1 parent ed2a6c1 commit 8bbf28b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/scala/scala/async/run/late/LateExpansion.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ class LateExpansion {
390390
val reporter = new StoreReporter
391391
val settings = new Settings(println(_))
392392
// settings.processArgumentString("-Xprint:patmat,postpatmat,jvm -Ybackend:GenASM -nowarn")
393-
settings.outdir.value = "/tmp"
393+
settings.outdir.value = sys.props("java.io.tmpdir")
394394
settings.embeddedDefaults(getClass.getClassLoader)
395395
val isInSBT = !settings.classpath.isSetByUser
396396
if (isInSBT) settings.usejavacp.value = true

0 commit comments

Comments
 (0)