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

Commit1c4e028

Browse files
authored
fix: LinkedList test (trekhleb#712)
1 parentd581548 commit1c4e028

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ describe('LinkedList', () => {
230230
expect(node).toBeDefined();
231231
expect(node.value.value).toBe(2);
232232
expect(node.value.customValue).toBe('test2');
233-
expect(linkedList.find({value:2,customValue:'test5'})).toBeNull();
233+
expect(linkedList.find({value:{value:2,customValue:'test5'}})).toBeNull();
234234
});
235235

236236
it('should find preferring callback over compare function',()=>{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp