Skip to content

Commit

Permalink
Fix other tests
Browse files Browse the repository at this point in the history
Fix expectations so that we do not see package objects anymore.
  • Loading branch information
odersky committed Apr 11, 2021
1 parent 16debbb commit 2bf034f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion compiler/test-resources/repl/i5218
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ scala> 0.0 *: tuple
val res0: (Double, Int, String, Long) = (0.0,1,2,3)
scala> tuple ++ tuple
val res1: Int *: String *: Long *:
scala.Tuple.Concat[scala.Tuple$package.EmptyTuple.type, tuple.type] = (1,2,3,1,2,3)
scala.Tuple.Concat[EmptyTuple.type, tuple.type] = (1,2,3,1,2,3)
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class CompletionTest {

@Test def completionFromSyntheticPackageObject: Unit = {
code"class Foo { val foo: IArr${m1} }".withSource
.completion(m1, Set(("IArray", Field, "scala.IArray"),
("IArray", Module, "scala.IArray$package.IArray$")))
.completion(m1, Set(("IArray", Module, "scala.IArray$"),
("IArray", Field, "scala.IArray")))
}

@Test def completionFromJavaDefaults: Unit = {
Expand Down

0 comments on commit 2bf034f

Please sign in to comment.