File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
sourcecode/test/src/sourcecode Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,9 @@ object TextTests {
5
5
assert(foo(1 ) == (1 , " 1" ))
6
6
val bar = Seq (" lols" )
7
7
assert(foo(bar) == (Seq (" lols" ), " bar" ))
8
- // FIXME Don't pass on dotty (second element not ok)
9
8
if (TestUtil .isDotty) {
10
- assert(foo(Symbol (" lol" ).toString * 2 )._1 == " 'lol'lol" )
11
- assert(foo{println(" Hello" ); Symbol (" lol" ).toString * 2 }._1 == " 'lol'lol" )
9
+ assert(foo(Symbol (" lol" ).toString * 2 ) == ( " 'lol'lol" , " Symbol( \" lol \" ).toString * 2 " ) )
10
+ assert(foo{println(" Hello" ); Symbol (" lol" ).toString * 2 } == ( " 'lol'lol" , " Symbol( \" lol \" ).toString * 2 " ) )
12
11
} else {
13
12
assert(foo(Symbol (" lol" ).toString * 2 ) == (" 'lol'lol" , " 'lol.toString * 2" ))
14
13
assert(foo{println(" Hello" ); Symbol (" lol" ).toString * 2 } == (" 'lol'lol" , " 'lol.toString * 2" ))
You can’t perform that action at this time.
0 commit comments