File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
modules/integration/src/test/scala/scala/cli/integration Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -100,31 +100,31 @@ object ExportTestProjects {
100
100
val nl = " \\ n"
101
101
val testFile =
102
102
if (scalaVersion.startsWith(" 3." ))
103
- s """ //> using scala " $scalaVersion"
104
- |//> using platform " scala-native"
103
+ s """ //> using scala $scalaVersion
104
+ |//> using platform scala-native
105
105
|
106
106
|import scala.scalanative.libc._
107
107
|import scala.scalanative.unsafe._
108
108
|
109
109
|object Test:
110
110
| def main(args: Array[String]): Unit =
111
111
| val message = "Hello from " + "exported Scala CLI project" + " $nl"
112
- | Zone { implicit z =>
112
+ | Zone {
113
113
| val io = StdioHelpers(stdio)
114
114
| io.printf(c"%s", toCString(message))
115
115
| }
116
116
| """ .stripMargin
117
117
else
118
- s """ //> using scala " $scalaVersion"
119
- |//> using platform " scala-native"
118
+ s """ //> using scala $scalaVersion
119
+ |//> using platform scala-native
120
120
|
121
121
|import scala.scalanative.libc._
122
122
|import scala.scalanative.unsafe._
123
123
|
124
124
|object Test {
125
125
| def main(args: Array[String]): Unit = {
126
126
| val message = "Hello from " + "exported Scala CLI project" + " $nl"
127
- | Zone { implicit z =>
127
+ | Zone.acquire { implicit z =>
128
128
| val io = StdioHelpers(stdio)
129
129
| io.printf(c"%s", toCString(message))
130
130
| }
You can’t perform that action at this time.
0 commit comments