Skip to content

Commit

Permalink
Fixing version declaration in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioGela committed Nov 14, 2023
1 parent 8efeb5c commit 220d5b0
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,9 @@ object ScalaCliProcess {
def command(args: List[String]): IO[Unit] = scalaCli(args)

def run(body: String): IO[Unit] =
writeToFile(body)(false).use(f =>
scalaCli("run" :: "--native-version" :: "0.4.15" :: f :: Nil)
)
writeToFile(body)(false).use(f => scalaCli("run" :: f :: Nil))

def test(body: String): IO[Unit] =
writeToFile(body)(true).use(f =>
scalaCli("test" :: "--native-version" :: "0.4.15" :: f :: Nil)
)
writeToFile(body)(true).use(f => scalaCli("test" :: f :: Nil))

}

0 comments on commit 220d5b0

Please sign in to comment.