Skip to content

Commit d4f1c26

Browse files
authored
Merge pull request #11863 from dotty-staging/fix-patmat-test
Fix PatmatExhaustivityTest failing depending on pagewidth
2 parents 736dd85 + 6a16c1e commit d4f1c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/dotc/transform/PatmatExhaustivityTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import org.junit.Test
1818
class PatmatExhaustivityTest {
1919
val testsDir = "tests/patmat"
2020
// stop-after: patmatexhaust-huge.scala crash compiler
21-
val options = List("-color:never", "-Ystop-after:explicitSelf", "-Ycheck-all-patmat", "-classpath", TestConfiguration.basicClasspath)
21+
val options = List("-pagewidth", "80", "-color:never", "-Ystop-after:explicitSelf", "-Ycheck-all-patmat", "-classpath", TestConfiguration.basicClasspath)
2222

2323
private def compile(files: Seq[String]): Seq[String] = {
2424
val stringBuffer = new StringWriter()

0 commit comments

Comments
 (0)