Skip to content

Commit afa3346

Browse files
committedDec 9, 2018
Code style updates for DoublyLinkedList tests.
1 parent c18d119 commit afa3346

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/data-structures/doubly-linked-list/__test__/DoublyLinkedList.test.js

+2
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ describe('DoublyLinkedList', () => {
245245

246246
// Reverse linked list.
247247
linkedList.reverse();
248+
248249
expect(linkedList.toString()).toBe('4,3,2,1');
249250

250251
expect(linkedList.head.previous).toBeNull();
@@ -261,6 +262,7 @@ describe('DoublyLinkedList', () => {
261262

262263
// Reverse linked list back to initial state.
263264
linkedList.reverse();
265+
264266
expect(linkedList.toString()).toBe('1,2,3,4');
265267

266268
expect(linkedList.head.previous).toBeNull();

0 commit comments

Comments
 (0)
Please sign in to comment.