Skip to content

Commit 6ba9bc7

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ 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>")
43-
test("type B = String & Int", "<K|type> <T|B> = <T|String & Int>")
42+
test("type A = String | Int", "<K|type> <T|A> = <T|String> <T||> <T|Int>")
43+
test("type B = String & Int", "<K|type> <T|B> = <T|String> <T|&> <T|Int>")
4444
}
4545

4646
@Test

0 commit comments

Comments
 (0)