I started working my way through the Scala Koans, which is organized around a suite of unit tests with blanks that one needs to fill in. (This idea was modeled after a similar Ruby Koans project.) You start the sbt tool running a test, and it admonishes:
[info] + ***************************************** [info] + [info] + [info] + [info] + Please meditate on koan "None equals None" of suite "AboutEmptyValues" [info] + [info] + [info] + [info] + *****************************************
...and so you go look at this unit test and it says:
test("None equals None") { assert(None === __) }
...and, after meditation, you realize that you should fill in the blank like this:
test("None equals None") { assert(None === None) }
...and then it moves on to the next unit test.
My question, though, is what is this ===
operator? I can't seem to find it anywhere. Is this a DSL operator defined in the Scala Koans project itself? Or is it part of the ScalaTest framework? Or in Scala proper?