Skip to content
Snippets Groups Projects
Commit bc3b136c authored by Guillaume Martres's avatar Guillaume Martres
Browse files

example.md: Line number changed

parent c1844619
No related branches found
No related tags found
No related merge requests found
...@@ -64,7 +64,7 @@ This tells us several things: ...@@ -64,7 +64,7 @@ This tells us several things:
- 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
at example.Lists$.max(Lists.scala:41) at example.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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment