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 @@ -93,12 +93,12 @@ class SyntaxHighlightingTests extends DottyTest {
93
93
94
94
@ Test
95
95
def unionTypes = {
96
- test(" type A = String|Int| Long" , " <K|type> <T|A> = <T|String>|<T| Int>| <T| Long>" )
97
- test(" type B = String |Int| Long" , " <K|type> <T|B> = <T|String> |<T| Int>| <T| Long>" )
98
- test(" type C = String | Int | Long" , " <K|type> <T|C> = <T|String> | <T| Int> | <T| Long>" )
99
- test(" type D = String&Int& Long" , " <K|type> <T|D> = <T|String>&<T| Int>& <T| Long>" )
100
- test(" type E = String &Int& Long" , " <K|type> <T|E> = <T|String> &<T| Int>& <T| Long>" )
101
- test(" type F = String & Int & Long" , " <K|type> <T|F> = <T|String> & <T| Int> & <T| Long>" )
102
- test(" fn[String|Char](input)" , " fn[<T|String>|<T |Char>](input)" )
96
+ test(" type A = String|Int| Long" , " <K|type> <T|A> = <T|String| Int| Long>" )
97
+ test(" type B = String |Int| Long" , " <K|type> <T|B> = <T|String | Int| Long>" )
98
+ test(" type C = String | Int | Long" , " <K|type> <T|C> = <T|String | Int | Long>" )
99
+ test(" type D = String&Int& Long" , " <K|type> <T|D> = <T|String& Int& Long>" )
100
+ test(" type E = String &Int& Long" , " <K|type> <T|E> = <T|String & Int& Long>" )
101
+ test(" type F = String & Int & Long" , " <K|type> <T|F> = <T|String & Int & Long>" )
102
+ test(" fn[String|Char](input)" , " fn[<T|String|Char>](input)" )
103
103
}
104
104
}
You can’t perform that action at this time.
0 commit comments