Skip to content

Commit 273ff85

Browse files
committed
[test] disregard the generated dump file's name to update test case of crash dump
1 parent 2554bc6 commit 273ff85

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/automatic_tests/crash_dump/mocha_test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ describe('crash dump', function() {
3434

3535
it('should work fine', function() {
3636
assert.equal(result.length, 1);
37-
var r = result[0].indexOf("renderer");
38-
assert.equal(r, -1);
37+
var r = result[0].indexOf("dmp");
38+
assert.notEqual(r, -1);
3939
});
4040

4141
})
@@ -58,7 +58,7 @@ describe('crash dump', function() {
5858

5959
it('should work fine', function() {
6060
assert.equal(result.length, 2);
61-
var r = result[1].indexOf("renderer");
61+
var r = result[1].indexOf("dmp");
6262
assert.notEqual(r, -1);
6363
});
6464
})

0 commit comments

Comments
 (0)