From bc3b136ceeddebe3fbfd5bf3f9677c5d2dcc426b Mon Sep 17 00:00:00 2001 From: Guillaume Martres <smarter@ubuntu.com> Date: Wed, 18 Sep 2019 19:16:02 +0200 Subject: [PATCH] example.md: Line number changed --- week1/01-example.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/week1/01-example.md b/week1/01-example.md index 0acc389..6d95a9b 100644 --- a/week1/01-example.md +++ b/week1/01-example.md @@ -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` - 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 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 numbers` in the file `ListsSuite.scala` at line 83. @@ -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: ```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: -- GitLab