File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
input/src/main/scala/example Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ object Build {
378
378
baseDirectory in (Compile , run) := baseDirectory.value / " .." ,
379
379
baseDirectory in Test := baseDirectory.value / " .." ,
380
380
unmanagedSourceDirectories in Test += baseDirectory.value / " input" / " src" / " main" / " scala" ,
381
+ scalacOptions in Test ++= Seq (" -Yno-inline" ),
381
382
libraryDependencies ++= List (
382
383
(" org.scalameta" %% " semanticdb" % " 4.0.0" ).withDottyCompat(scalaVersion.value),
383
384
" com.novocode" % " junit-interface" % " 0.11" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ class PredefsDotty {
4
4
locally {
5
5
val x : Int => Int = _ => ???
6
6
}
7
- // assert(true)
8
- // assert(false, "bonjour")
7
+ assert(true )
8
+ assert(false , " bonjour" )
9
9
}
Original file line number Diff line number Diff line change @@ -212,9 +212,7 @@ class Tests {
212
212
// @Test def testSynthetic(): Unit = checkFile("example/Synthetic.scala")
213
213
// @Test def testBinaryOp(): Unit = checkFile("example/BinaryOp.scala")
214
214
// @Test def testAnonymous(): Unit = checkFile("example/Anonymous.scala")
215
- // @Test def testDottyPredef(): Unit = checkFile("example/DottyPredef.scala")
215
+ @ Test def testDottyPredef (): Unit = checkFile(" example/DottyPredef.scala" )
216
216
@ Test def testCase (): Unit = checkFile(" example/Case.scala" )
217
- @ Test def teastCase (): Unit = checkFile(" example/Example.scala" )
218
-
219
217
220
218
}
You can’t perform that action at this time.
0 commit comments