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