Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 628cc11

Browse files
committed
Do not check return of updateChild
1 parent 160fdef commit 628cc11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/data-structures/size-balanced-tree.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ describe('SBTree', function () {
6363
expect(Nil.value).toBe(null);
6464
}
6565
it('test updateChild', function() {
66-
var e = updateChild(Nil, Nil);
66+
updateChild(Nil, Nil);
6767
checkNil();
68-
expect(e).toBe(Nil);
6968
var root = new Node(10, Nil, Nil, Nil, 1);
7069
var left = new Node(5, root, Nil, Nil, 1);
7170
var right = new Node(15, root, Nil, Nil, 1);

0 commit comments

Comments
 (0)