We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7e1811 commit c91a352Copy full SHA for c91a352
tests/init/pos/scalatest.scala
@@ -0,0 +1,17 @@
1
+class TestSuite:
2
+ protected val it = new ItWord
3
+
4
+ protected final class ItWord:
5
+ def should(string: String) = new ItVerbString("should", string)
6
7
+ private def registerTestToRun(fun: => Any): Unit = ()
8
9
+ protected final class ItVerbString(verb: String, name: String):
10
+ inline def in(testFun: => Any): Unit = registerTestToRun(testFun)
11
12
+class MyTest extends TestSuite:
13
+ it should "not cause outer select errors" in {
14
+ assert(1 + 1 == 2)
15
+ }
16
17
+ val n = 10
0 commit comments