@@ -77,7 +77,7 @@ abstract class PackageTestDefinitions(val scalaVersionOpt: Option[String])
77
77
stdout = os.Inherit
78
78
)
79
79
80
- val outputName = if (Properties .isWin) " app .bat" else " app "
80
+ val outputName = if (Properties .isWin) " simple .bat" else " simple "
81
81
val launcher = root / outputName
82
82
83
83
expect(os.isFile(launcher))
@@ -109,7 +109,7 @@ abstract class PackageTestDefinitions(val scalaVersionOpt: Option[String])
109
109
stdout = os.Inherit
110
110
)
111
111
112
- val outputName = if (Properties .isWin) " app .bat" else " app "
112
+ val outputName = if (Properties .isWin) " hello .bat" else " hello "
113
113
val launcher = root / outputName
114
114
115
115
val output = os.proc(launcher.toString).call(cwd = root).out.text().trim
@@ -171,7 +171,7 @@ abstract class PackageTestDefinitions(val scalaVersionOpt: Option[String])
171
171
stdout = os.Inherit
172
172
)
173
173
174
- val outputName = if (Properties .isWin) " app .bat" else " app "
174
+ val outputName = if (Properties .isWin) " hello .bat" else " hello "
175
175
val launcher = root / outputName
176
176
177
177
val output = os.proc(launcher.toString).call(cwd = root).out.text().trim
@@ -324,7 +324,7 @@ abstract class PackageTestDefinitions(val scalaVersionOpt: Option[String])
324
324
os.rel / fileName ->
325
325
s """ |//> using jsHeader " $jsHeaderNewLine"
326
326
|//> using jsMode "release"
327
- |
327
+ |
328
328
|object Hello extends App {
329
329
| println("Hello")
330
330
|}
@@ -480,7 +480,7 @@ abstract class PackageTestDefinitions(val scalaVersionOpt: Option[String])
480
480
stdout = os.Inherit
481
481
)
482
482
483
- val outputName = if (Properties .isWin) " app .bat" else " app "
483
+ val outputName = if (Properties .isWin) " Main .bat" else " Main "
484
484
val launcher = root / outputName
485
485
486
486
val output = os.proc(launcher.toString).call(cwd = root).out.text().trim
0 commit comments