Skip to content

Commit

Permalink
Fix linked list test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aveek-Saha committed Oct 12, 2020
1 parent 012f417 commit 056b323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/linked_list.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ describe('Check Linked list functions', () => {
});

it('should not insert the node if given index > length of list', () => {
expect(list.insertAt(6, '10')).toBe(null);
expect(list.insertAt(8, '10')).toBe(null);
});

it('should delete the node at the index specified', () => {
Expand Down

0 comments on commit 056b323

Please sign in to comment.