File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
sourcecode/test/src/sourcecode Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,8 @@ object TextTests {
5
5
assert(foo(1 ) == (1 , " 1" ))
6
6
val bar = Seq (" lols" )
7
7
assert(foo(bar) == (Seq (" lols" ), " bar" ))
8
- if (TestUtil .isDotty) {
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" ))
11
- } else {
12
- assert(foo(Symbol (" lol" ).toString * 2 ) == (" 'lol'lol" , " Symbol(\" lol\" ).toString * 2" ))
13
- assert(foo{println(" Hello" ); Symbol (" lol" ).toString * 2 } == (" 'lol'lol" , " Symbol(\" lol\" ).toString * 2" ))
14
- }
8
+ assert(foo(List (" lol" ).toString * 2 ) == (" List(lol)List(lol)" , " List(\" lol\" ).toString * 2" ))
9
+ assert(foo{println(" Hello" ); List (" lol" ).toString * 2 } == (" List(lol)List(lol)" , " List(\" lol\" ).toString * 2" ))
15
10
}
16
11
def foo [T ](v : sourcecode.Text [T ]) = (v.value, v.source)
17
12
}
You can’t perform that action at this time.
0 commit comments