@@ -14,14 +14,14 @@ class tests extends CompilerTest {
14
14
// "-Xprompt",
15
15
// "-explaintypes",
16
16
// "-Yshow-suppressed-errors",
17
- )
17
+ " -pagewidth " , " 160 " )
18
18
19
19
val defaultOutputDir = " ./out/"
20
20
21
21
implicit val defaultOptions = noCheckOptions ++ List (
22
- " -Yno-deep-subtypes" , " -Yno-double-bindings" ,
23
- " -Ycheck:tailrec,resolveSuper,mixin,restoreScopes" ,
24
- " -d" , defaultOutputDir
22
+ " -Yno-deep-subtypes" , " -Yno-double-bindings" ,
23
+ " -Ycheck:tailrec,resolveSuper,mixin,restoreScopes" ,
24
+ " -d" , defaultOutputDir
25
25
)
26
26
val testPickling = List (" -Xprint-types" , " -Ytest-pickler" , " -Ystop-after:pickler" )
27
27
@@ -50,7 +50,6 @@ class tests extends CompilerTest {
50
50
val dotcDir = toolsDir + " dotc/"
51
51
val coreDir = dotcDir + " core/"
52
52
53
-
54
53
@ Test def pickle_pickleOK = compileDir(testsDir, " pickling" , testPickling)
55
54
// This directory doesn't exist anymore
56
55
// @Test def pickle_pickling = compileDir(coreDir, "pickling", testPickling)
@@ -168,9 +167,9 @@ class tests extends CompilerTest {
168
167
@ Test def dotc_reporting = compileDir(dotcDir, " reporting" ) // twice omitted to make tests run faster
169
168
170
169
@ Test def dotc_typer = compileDir(dotcDir, " typer" )// twice omitted to make tests run faster
171
- // error: error while loading Checking$$anon$2$,
172
- // class file 'target/scala-2.11/dotty_2.11-0.1-SNAPSHOT.jar(dotty/tools/dotc/typer/Checking$$anon$2.class)'
173
- // has location not matching its contents: contains class $anon
170
+ // error: error while loading Checking$$anon$2$,
171
+ // class file 'target/scala-2.11/dotty_2.11-0.1-SNAPSHOT.jar(dotty/tools/dotc/typer/Checking$$anon$2.class)'
172
+ // has location not matching its contents: contains class $anon
174
173
175
174
@ Test def dotc_util = compileDir(dotcDir, " util" ) // twice omitted to make tests run faster
176
175
@@ -181,15 +180,15 @@ class tests extends CompilerTest {
181
180
// @Test def tools = compileDir(dottyDir, "tools", "-deep" :: Nil)(allowDeepSubtypes)
182
181
183
182
@ Test def testNonCyclic = compileList(" testNonCyclic" , List (
184
- dotcDir + " CompilationUnit.scala" ,
185
- coreDir + " Types.scala" ,
186
- dotcDir + " ast/Trees.scala"
187
- ), List (" -Xprompt" ) ++ staleSymbolError ++ twice)
183
+ dotcDir + " CompilationUnit.scala" ,
184
+ coreDir + " Types.scala" ,
185
+ dotcDir + " ast/Trees.scala"
186
+ ), List (" -Xprompt" ) ++ staleSymbolError ++ twice)
188
187
189
188
@ Test def testIssue_34 = compileList(" testIssue_34" , List (
190
- dotcDir + " config/Properties.scala" ,
191
- dotcDir + " config/PathResolver.scala"
192
- ), List (/* "-Ylog:frontend", */ " -Xprompt" ) ++ staleSymbolError ++ twice)
189
+ dotcDir + " config/Properties.scala" ,
190
+ dotcDir + " config/PathResolver.scala"
191
+ ), List (/* "-Ylog:frontend", */ " -Xprompt" ) ++ staleSymbolError ++ twice)
193
192
194
193
val javaDir = " ./tests/pos/java-interop/"
195
194
@ Test def java_all = compileFiles(javaDir, twice)
0 commit comments