aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/existentials-harmful.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/pos/existentials-harmful.scala')
-rw-r--r--tests/pending/pos/existentials-harmful.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/pos/existentials-harmful.scala b/tests/pending/pos/existentials-harmful.scala
index 8722852e8..91dbd4dfd 100644
--- a/tests/pending/pos/existentials-harmful.scala
+++ b/tests/pending/pos/existentials-harmful.scala
@@ -17,7 +17,7 @@ object ExistentialsConsideredHarmful {
// 1.
def carry[A <: Animal](box: TransportBox[A]): Unit = {
- println(box.animal.name+" got carried away")
+ println(box.animal.name +" got carried away")
}
val aBox =
@@ -37,7 +37,7 @@ object ExistentialsConsideredHarmful {
abstract class BoxCarrier[R <: Animal](box: TransportBox[R]) {
def speed: Int
- def talkToAnimal: Unit = println("The carrier says hello to"+box.animal.name)
+ def talkToAnimal: Unit = println("The carrier says hello to" + box.animal.name)
}
// 3.