| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 077e187 commit 2e100c8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,14 +9,13 @@ assert.strictEqual(binding.newBuffer().toString(), binding.theText); | |||
| 9 | 9 | assert.strictEqual(binding.newExternalBuffer().toString(), binding.theText); | |
| 10 | 10 | console.log('gc1'); | |
| 11 | 11 | global.gc(); | |
| 12 | - assert.strictEqual(binding.getDeleterCallCount(), 1, 'deleter was not called'); | ||
| 12 | + assert.strictEqual(binding.getDeleterCallCount(), 1); | ||
| 13 | 13 | assert.strictEqual(binding.copyBuffer().toString(), binding.theText); | |
| 14 | 14 | ||
| 15 | 15 | let buffer = binding.staticBuffer(); | |
| 16 | - assert.strictEqual(binding.bufferHasInstance(buffer), true, | ||
| 17 | - 'buffer type checking fails'); | ||
| 16 | + assert.strictEqual(binding.bufferHasInstance(buffer), true); | ||
| 18 | 17 | assert.strictEqual(binding.bufferInfo(buffer), true); | |
| 19 | 18 | buffer = null; | |
| 20 | 19 | global.gc(); | |
| 21 | 20 | console.log('gc2'); | |
| 22 | - assert.strictEqual(binding.getDeleterCallCount(), 2, 'deleter was not called'); | ||
| 21 | + assert.strictEqual(binding.getDeleterCallCount(), 2); | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments