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