Skip to content

Commit fd1685e

Browse files
author
A M Chung
committed
unit test update
1 parent 6c90c6a commit fd1685e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/unit/core/error_helpers.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -814,10 +814,10 @@ suite('Global Error Handling', function() {
814814
temp = temp.filter(e => e.trim().length > 0);
815815
assert.strictEqual(temp.length, 4);
816816
assert.match(log[0], /"asdfg" is not defined/);
817-
assert.match(temp[0], /Error at/);
818-
assert.match(temp[0], /myfun/);
819-
assert.match(temp[1], /Called from/);
820-
assert.match(temp[1], /setup/);
817+
assert.match(temp[1], /Error at/);
818+
assert.match(temp[1], /myfun/);
819+
assert.match(temp[3], /Called from/);
820+
assert.match(temp[3], /setup/);
821821
});
822822
});
823823

0 commit comments

Comments
 (0)