Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafa3346

Browse files
committed
Code style updates for DoublyLinkedList tests.
1 parentc18d119 commitafa3346

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

Lines changed: 2 additions & 0 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp