| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8a9af68 commit 1377ea8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,7 @@ setTimeout(function firstTimer() { | |||
| 51 | 51 | 'a domain that should be disposed.'); | |
| 52 | 52 | disposalFailed = true; | |
| 53 | 53 | process.exit(1); | |
| 54 | - }); | ||
| 54 | + }, 1); | ||
| 55 | 55 | ||
| 56 | 56 | // Make V8 throw an unreferenced error. As a result, the domain's error | |
| 57 | 57 | // handler is called, which disposes the domain "d" and should prevent the | |
@@ -69,8 +69,8 @@ setTimeout(function secondTimer() { | |||
| 69 | 69 | }, TIMEOUT_DURATION); | |
| 70 | 70 | ||
| 71 | 71 | process.on('exit', function() { | |
| 72 | - assert.equal(a, 10); | ||
| 73 | - assert.equal(disposalFailed, false); | ||
| 72 | + assert.strictEqual(a, 10); | ||
| 73 | + assert.strictEqual(disposalFailed, false); | ||
| 74 | 74 | assert(secondTimerRan); | |
| 75 | 75 | console.log('ok'); | |
| 76 | 76 | }); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments