Skip to content

Commit f1cb0ba

Browse files
committed
Fix other tests
Fix expectations so that we do not see package objects anymore.
1 parent 16debbb commit f1cb0ba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/test-resources/repl/i5218

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ scala> 0.0 *: tuple
44
val res0: (Double, Int, String, Long) = (0.0,1,2,3)
55
scala> tuple ++ tuple
66
val res1: Int *: String *: Long *:
7-
scala.Tuple.Concat[scala.Tuple$package.EmptyTuple.type, tuple.type] = (1,2,3,1,2,3)
7+
scala.Tuple.Concat[EmptyTuple.type, tuple.type] = (1,2,3,1,2,3)

language-server/test/dotty/tools/languageserver/CompletionTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class CompletionTest {
4242

4343
@Test def completionFromSyntheticPackageObject: Unit = {
4444
code"class Foo { val foo: IArr${m1} }".withSource
45-
.completion(m1, Set(("IArray", Field, "scala.IArray"),
46-
("IArray", Module, "scala.IArray$package.IArray$")))
45+
.completion(m1, Set(("IArray", Module, "IArray$"),
46+
("IArray", Field, "scala.IArray")))
4747
}
4848

4949
@Test def completionFromJavaDefaults: Unit = {

0 commit comments

Comments
 (0)