diff -r 34d2cfb7761a -r 86d59b074abe cw5_marking/c6.sc --- a/cw5_marking/c6.sc Fri Sep 18 10:57:24 2026 +0100 +++ b/cw5_marking/c6.sc Fri Sep 18 10:58:01 2026 +0100 @@ -32,8 +32,8 @@ //println("TEST4") Try(res.out.text()) match { - case Success(v) if (pp(v, out) || pp(v, out2)) => println(s" Success. Printed out the correct output.\n") - case Success(v) => println(s" Printed out wrong or no output.\n${v}") ; throw new Exception("Wrong Output") - case Failure(e) => println(s" Fail. Printed ${res.out.text()} instead\n") ; throw(e) + case Success(v) if (pp(v, out) || pp(v, out2)) => println(s" Success. Printed out the correct output.\n") + case Success(v) => println(s" Printed out wrong or no output.\n${v}") ; throw new Exception("Wrong Output") + case Failure(e) => println(s" Fail. Printed ${res.out.text()} instead\n") ; throw(e) }