Commit d24edee8 authored by Archie Shahidullah's avatar Archie Shahidullah :expressionless:
Browse files

error messages go brrr again

parent 01e652a8
1 merge request!2Review Tests for Project 8
Pipeline #46660 canceled with stage
in 0 seconds
Showing with 2 additions and 2 deletions
+2 -2
...@@ -328,10 +328,10 @@ public class BeavermapTests { ...@@ -328,10 +328,10 @@ public class BeavermapTests {
List<Long> actualPathIDs = new ArrayList<>(); List<Long> actualPathIDs = new ArrayList<>();
if (expectedPathIDs.size() == 0) { if (expectedPathIDs.size() == 0) {
assertNull(actualPath, "Path does not exist from " + start.id + " to " + target.id + " but was found"); assertNull(actualPath, "Path does not exist from " + start.id + " to " + target.id + " but a path was found");
} }
else { else {
assertNotNull(actualPath, "Path exists from " + start.id + " to " + target.id + " but was not found"); assertNotNull(actualPath, "Path exists from " + start.id + " to " + target.id + " but a path was not found");
for (Location l : actualPath) { for (Location l : actualPath) {
actualPathIDs.add(l.id); actualPathIDs.add(l.id);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment