diff --git a/src/main/scala/introprog/examples/TestIO.scala b/src/main/scala/introprog/examples/TestIO.scala index 73c0237..353a084 100644 --- a/src/main/scala/introprog/examples/TestIO.scala +++ b/src/main/scala/introprog/examples/TestIO.scala @@ -21,10 +21,10 @@ object TestIO { assert(isSameContents, s"$highscores != $highscores2") println(s"$highscores == $highscores2\n$testResult") - testImageLoadAndDraw + testImageLoadAndDraw() } - def testImageLoadAndDraw : Unit = { + def testImageLoadAndDraw(): Unit = { import introprog.* import java.awt.Color import java.awt.Color.*