From 01e652a822bb5b0098f2815dd7bf5edd93ece600 Mon Sep 17 00:00:00 2001 From: Ethan Ordentlich <eordentl@Caltech.edu> Date: Thu, 25 Feb 2021 03:36:43 -0800 Subject: [PATCH] error messages go brrr --- tests/edu/caltech/cs2/project08/DijkstraTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/edu/caltech/cs2/project08/DijkstraTest.java b/tests/edu/caltech/cs2/project08/DijkstraTest.java index 047e86d..27b354c 100644 --- a/tests/edu/caltech/cs2/project08/DijkstraTest.java +++ b/tests/edu/caltech/cs2/project08/DijkstraTest.java @@ -77,10 +77,10 @@ public class DijkstraTest { String line = s.nextLine(); if (line.equals("null")) { - assertNull(res, "Path does not exist from " + start + " to " + end + " but was found"); + assertNull(res, "Path does not exist from " + start + " to " + end + " but a path was found"); } else { - assertNotNull(res, "Path exists from " + start + " to " + end + " but was not found"); + assertNotNull(res, "Path exists from " + start + " to " + end + " but a path was not found"); for (Location l : res) { if (prev != null) { pathLen += bmg.adjacent(prev.id, l.id); -- GitLab