Skip to content

Commit a34ff32

Browse files
committed
added unittest
1 parent 9edb26a commit a34ff32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ class SyntaxHighlightingTests {
5050
def strings = {
5151
// For some reason we currently use literal color for string
5252
test("\"Hello\"", "<L|\"Hello\">")
53+
test("s\"Hello\"", "s<L|\"Hello\">")
54+
test("s\"Hello $name\"", "s<L|\"Hello <V|$name<L|\">")
55+
test("raw\"Hello\"", "raw<L|\"Hello\">")
5356
}
5457

5558
@Test

0 commit comments

Comments
 (0)