File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -7,26 +7,26 @@ Added 'compiler/test-resources/jars/mylibrary.jar' to classpath.
77scala> import mylibrary.Utils
88
99scala> Utils.greet("Alice")
10- val res0: String = Hello, Alice!
10+ val res0: String = " Hello, Alice!"
1111
1212scala>:jar compiler/test-resources/jars/mylibrary2.jar
1313Added 'compiler/test-resources/jars/mylibrary2.jar' to classpath.
1414
1515scala> import mylibrary2.Utils2
1616
1717scala> Utils2.greet("Alice")
18- val res1: String = Greetings, Alice!
18+ val res1: String = " Greetings, Alice!"
1919
2020scala> Utils.greet("Alice")
21- val res2: String = Hello, Alice!
21+ val res2: String = " Hello, Alice!"
2222
2323scala> import mylibrary.Utils.greet
2424
2525scala> greet("Tom")
26- val res3: String = Hello, Tom!
26+ val res3: String = " Hello, Tom!"
2727
2828scala> Utils.greet("Alice")
29- val res4: String = Hello, Alice!
29+ val res4: String = " Hello, Alice!"
3030
3131scala> z
3232val res5: Int = 1
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ class SyntaxHighlightingTests extends DottyTest {
9595 test(" val foo = 123" , " <K|val> <V|foo> = <L|123>" )
9696 test(
9797 " val foo: List[List[Int]] = List(List(1))" ,
98- " <K|val> <V|foo>: <T|List>[<T|List>[<T|Int>]] = List( List(<L|1>))"
98+ " <K|val> <V|foo>: <T|List>[<T|List>[<T|Int>]] = <T| List>(<T| List> (<L|1>))"
9999 )
100100
101101 test(" var" , " <K|var>" )
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class ReplCompilerTests extends ReplTest:
7777 assertEquals(1 , summon[State ].imports.size)
7878 run(""" mutable.Map("one" -> 1)""" )
7979 assertEquals(
80- " val res0: scala.collection.mutable.Map[String, Int] = HashMap(\" one\" -> 1)" ,
80+ " val res0: scala.collection.mutable.Map[String, Int] = HashMap(one -> 1)" ,
8181 storedOutput().trim
8282 )
8383 }
@@ -262,7 +262,7 @@ class ReplCompilerTests extends ReplTest:
262262
263263 @ Test def testSingletonPrint = initially {
264264 run(""" val a = "hello"; val x: a.type = a""" )
265- assertMultiLineEquals(" val a: String =\" hello\"\n val x: a.type = \" hello\" " , storedOutput().trim)
265+ assertMultiLineEquals(" val a: String = \" hello\"\n val x: a.type = \" hello\" " , storedOutput().trim)
266266 }
267267
268268 @ Test def i6574 = initially {
You can’t perform that action at this time.
0 commit comments