Skip to content

Commit f568d90

Browse files
committed
Fix test
1 parent e8be8e3 commit f568d90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ describe("Graph", function() {
359359
.addEdge("x", "z", 4)
360360
.addEdge("z", "x", 6);
361361
assert.deepEqual(graph.shortestPath("s", "z"), ["s", "y", "z"]);
362-
assert.deepEqual(graph.shortestPath("s", "x"), ["s", "y", "x"]);
362+
assert.deepEqual(graph.shortestPath("s", "x"), ["s", "y", "t", "x"]);
363363
});
364364

365365
});

0 commit comments

Comments
 (0)