We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25f2696 commit b40687bCopy full SHA for b40687b
src/test/scala/com/fortysevendeg/exercises/ExampleTarget.scala
@@ -31,9 +31,8 @@ object ExampleTarget extends AnyFlatSpec with Matchers {
31
32
class ExampleException extends Exception("this is an example exception")
33
34
- def throwsExceptionMethod() {
+ def throwsExceptionMethod(): Unit =
35
throw new ExampleException
36
- }
37
38
def takesEitherMethod(either: Either[_, _]): Boolean = true
39
}
0 commit comments