--- a/cw5_marking/c2.sc Fri Sep 18 10:57:24 2026 +0100
+++ b/cw5_marking/c2.sc Fri Sep 18 10:58:01 2026 +0100
@@ -16,7 +16,7 @@
val str = os.read(os.pwd / file)
- Try(test_string(str).length) match {
+ Try(urban_test_string(str).length) match {
case Success(v) if v == no => println(s"--> Success. Parsed $no top-level definitions.")
case Success(v) => println(s"--> Success? Parsed $v top-level definitions (should be $no).")// ; throw new Exception("Different")
case Failure(e) => println(s"--> FAIL. Exception raised.") ; throw(e)