exercism / scala

Exercism exercises in Scala.
https://exercism.org/tracks/scala
MIT License
123 stars 131 forks source link

Unit tests for exercise 2 "Twofer" do not compile #708

Closed brownbonnie closed 2 years ago

brownbonnie commented 2 years ago

Compile error: Unspecified value parameters: name: String

The following line is missing en empty string: Twofer.twofer() should be ("One for you, one for me.")

It should be this instead: Twofer.twofer("") should be ("One for you, one for me.")

brownbonnie commented 2 years ago

I've raised a PR for this: https://github.com/exercism/scala/pull/709

ErikSchierboom commented 2 years ago

This is not actually a bug, but a feature. See #709.