Skip to content

Commit cfe896d

Browse files
committed
Fix rebase breakage
1 parent 0748eea commit cfe896d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/test/dotty/tools/dotc/printing/SyntaxHighlightingTests.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ class SyntaxHighlightingTests extends DottyTest {
1010
import SyntaxHighlighting._
1111

1212
private def test(source: String, expected: String): Unit = {
13-
val highlighted = SyntaxHighlighting.highlight(source)(ctx)
13+
val testCtx = ctx.fresh.setSetting(ctx.settings.color, "always")
14+
val highlighted = SyntaxHighlighting.highlight(source)(testCtx)
1415
.replace(NoColor, ">")
1516
.replace(CommentColor, "<C|")
1617
.replace(KeywordColor, "<K|")

0 commit comments

Comments
 (0)