File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
compiler/test/dotty/tools/dotc/printing Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,12 @@ class SyntaxHighlightingTests extends DottyTest {
89
89
90
90
@ Test
91
91
def unionTypes = {
92
- test(" type A = String|Int| Long" , " <K|type> <T|A> = <T|String>|<T| Int>| <T| Long>" )
93
- test(" type B = String |Int| Long" , " <K|type> <T|B> = <T|String> |<T| Int>| <T| Long>" )
94
- test(" type C = String | Int | Long" , " <K|type> <T|C> = <T|String> | <T| Int> | <T| Long>" )
95
- test(" type D = String&Int& Long" , " <K|type> <T|D> = <T|String>&<T| Int>& <T| Long>" )
96
- test(" type E = String &Int& Long" , " <K|type> <T|E> = <T|String> &<T| Int>& <T| Long>" )
97
- test(" type F = String & Int & Long" , " <K|type> <T|F> = <T|String> & <T| Int> & <T| Long>" )
98
- test(" fn[String|Char](input)" , " fn[<T|String>|<T |Char>](input)" )
92
+ test(" type A = String|Int| Long" , " <K|type> <T|A> = <T|String| Int| Long>" )
93
+ test(" type B = String |Int| Long" , " <K|type> <T|B> = <T|String | Int| Long>" )
94
+ test(" type C = String | Int | Long" , " <K|type> <T|C> = <T|String | Int | Long>" )
95
+ test(" type D = String&Int& Long" , " <K|type> <T|D> = <T|String& Int& Long>" )
96
+ test(" type E = String &Int& Long" , " <K|type> <T|E> = <T|String & Int& Long>" )
97
+ test(" type F = String & Int & Long" , " <K|type> <T|F> = <T|String & Int & Long>" )
98
+ test(" fn[String|Char](input)" , " fn[<T|String|Char>](input)" )
99
99
}
100
100
}
You can’t perform that action at this time.
0 commit comments