Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs2-20wi
project08
Commits
d24edee8
Commit
d24edee8
authored
4 years ago
by
Archie Shahidullah
Browse files
Options
Download
Email Patches
Plain Diff
error messages go brrr again
parent
01e652a8
1 merge request
!2
Review Tests for Project 8
Pipeline
#46660
canceled with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/edu/caltech/cs2/project08/BeavermapTests.java
+2
-2
tests/edu/caltech/cs2/project08/BeavermapTests.java
with
2 additions
and
2 deletions
+2
-2
tests/edu/caltech/cs2/project08/BeavermapTests.java
View file @
d24edee8
...
...
@@ -328,10 +328,10 @@ public class BeavermapTests {
List
<
Long
>
actualPathIDs
=
new
ArrayList
<>();
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
{
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
)
{
actualPathIDs
.
add
(
l
.
id
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help