Skip to content

Commit f95dfb7

Browse files
danielyliallanrenucci
authored andcommitted
Add tests for long and float literals
Test for `1Lx` currently fails; tests for float literals pass.
1 parent 2645cab commit f95dfb7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ class SyntaxHighlightingTests extends DottyTest {
4848
test("1", "<L|1>")
4949
test("1.1", "<L|1.1>")
5050
test("1.1.toString", "<L|1.1>.toString")
51-
// test("1L", "<L|1L>")
51+
test("1L", "<L|1L>")
52+
test("1Lx", "1Lx")
53+
test("1f", "<L|1f>")
54+
test("1.1f", "<L|1.1f>")
55+
test("1.1fx", "1.1fx")
5256
}
5357

5458
@Test

0 commit comments

Comments
 (0)