Skip to content

Commit d6ff493

Browse files
committed
Fix syntax highlighting test
1 parent 47ba19c commit d6ff493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SyntaxHighlightingTests extends DottyTest {
3939
test("type Foo", "<K|type> <T|Foo>")
4040
test("type Foo =", "<K|type> <T|Foo> =")
4141
test("type Foo = Int", "<K|type> <T|Foo> = <T|Int>")
42-
test("type A = String | Int", "<K|type> <T|A> = <T|String | Int>")
42+
test("type A = String | Int", "<K|type> <T|A> = <T|String> <T||> <T|Int>")
4343
test("type B = String & Int", "<K|type> <T|B> = <T|String & Int>")
4444
}
4545

0 commit comments

Comments
 (0)