We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0748eea commit cfe896dCopy full SHA for cfe896d
compiler/test/dotty/tools/dotc/printing/SyntaxHighlightingTests.scala
@@ -10,7 +10,8 @@ class SyntaxHighlightingTests extends DottyTest {
10
import SyntaxHighlighting._
11
12
private def test(source: String, expected: String): Unit = {
13
- val highlighted = SyntaxHighlighting.highlight(source)(ctx)
+ val testCtx = ctx.fresh.setSetting(ctx.settings.color, "always")
14
+ val highlighted = SyntaxHighlighting.highlight(source)(testCtx)
15
.replace(NoColor, ">")
16
.replace(CommentColor, "<C|")
17
.replace(KeywordColor, "<K|")
0 commit comments