Skip to content

Commit 8770e2d

Browse files
authored
Merge pull request #18 from scala/bishabosha-patch-3
use toolkit-test dependency in SimpleTest.test.scala
2 parents a8c2e4e + 850a60b commit 8770e2d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/SimpleTest.test.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
//> using toolkit "latest"
2+
//> using dep "org.scala-lang::toolkit-test:latest.stable"
3+
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TODO: remove when scala-cli supports toolkit-test
24

35
class MathSuite extends munit.FunSuite {
46
test("addition") {
57
assert(1 + 1 == 2)
68
}
7-
9+
810
test("read a missing file") {
911
val missingFile = os.pwd / "missing.txt"
1012
intercept[java.nio.file.NoSuchFileException] {

0 commit comments

Comments
 (0)