- There's a test named `max of a few numbers (10pts)` in the class `ListsSuite` in the package `example`
- There's a test named `max of a few numbers (10pts)` in the class `ListsSuite` in the package `example`
- The test failed with an exception: `scala.NotImplementedError: an implementation is missing`. This is followed by a stack trace showing where the exception happened.
- The test failed with an exception: `scala.NotImplementedError: an implementation is missing`. This is followed by a stack trace showing where the exception happened.
- This exception was thrown from the method `scala.Predef$.???` in the file `Predef.scala` at line 284.
- This exception was thrown from the method `scala.Predef$.???` in the file `Predef.scala` at line 284.
- This method was called from `example.Lists$.max` in the file `Lists.scala` at line 41.
- This method was called from `example.Lists$.max` in the file `Lists.scala` at line 40.
- ... which was itself called from the method `example.ListsSuite.max of a few
- ... which was itself called from the method `example.ListsSuite.max of a few
numbers` in the file `ListsSuite.scala` at line 83.
numbers` in the file `ListsSuite.scala` at line 83.
...
@@ -112,7 +112,7 @@ This looks like a regular method except for a few things:
...
@@ -112,7 +112,7 @@ This looks like a regular method except for a few things:
Recall that the second line of the stack trace was:
Recall that the second line of the stack trace was:
```scala
```scala
atexample.Lists$.max(Lists.scala:41)
atexample.Lists$.max(Lists.scala:40)
```
```
This tells us that the crash happened when calling `max`, we can hover with our mouse over the call to `max` in the test method to get more information on it:
This tells us that the crash happened when calling `max`, we can hover with our mouse over the call to `max` in the test method to get more information on it: