Skip to content

Commit f62871d

Browse files
committed
Update bellman ford specs
1 parent 7ca3162 commit f62871d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/graphs/shortest-path/bellman-ford.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('Bellman-Ford', function () {
2121
var vs = [new Vertex(1)];
2222
var e = [];
2323
expect(bellmanFord(vs, e, vs[0]))
24-
.toEqual({ parents: { '1': null }, distances: { '1': 0 }});
24+
.toEqual({ parents: { 1: null }, distances: { 1: 0 }});
2525
});
2626

2727
it('should work in the general case', function () {

0 commit comments

Comments
 (0)