-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Labels
Description
Version(s)
Scala code runner version: 1.7.1
Scala version (default): 3.6.4
Describe the bug
adding //> using toolkit default
to scalatest file
To Reproduce
main.test.scala
//> using test.dep org.scalatest::scalatest::3.2.19
import org.scalatest.flatspec.AnyFlatSpec
class ExampleSpec extends AnyFlatSpec:
"example" should "work" in { assertResult(1)(1) }
scala --cli-version 1.7.1 test .
Compiling project (test, Scala 3.6.4, JVM (23))
Compiled project (test, Scala 3.6.4, JVM (23))
ExampleSpec:
example
- should work
Run completed in 221 milliseconds.
Total number of tests run: 1
Suites: completed 1, aborted 0
Tests: succeeded 1, failed 0, canceled 0, ignored 0, pending 0
//> using test.dep org.scalatest::scalatest::3.2.19
//> using toolkit default
import org.scalatest.flatspec.AnyFlatSpec
class ExampleSpec extends AnyFlatSpec:
"example" should "work" in { assertResult(1)(1) }
scala --cli-version 1.7.1 test .
Compiling project (test, Scala 3.6.4, JVM (23))
Compiled project (test, Scala 3.6.4, JVM (23))
Expected behaviour
importing toolkits shouldn't prevent scalatest from working silently.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done