Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated the io.js 3 test cases to reflect what they are intended to do
  • Loading branch information
unbornchikken committed Aug 26, 2015
commit a980ebfafe029e40d41131434a46046eed37a62f
3 changes: 2 additions & 1 deletion test/iojs3issue.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
var assert = require('assert')
var ref = require('../')

// This will check if the new Buffer implementation behaves like the pre io.js 3.0 one did:
describe('iojs3issue', function () {
it('should not crash', function() {
for (var i = 0; i < 10; i++) {
Expand All @@ -11,7 +12,7 @@ describe('iojs3issue', function () {
var buf3 = ref.deref(buf2)
}
})
it('should crash', function() {
it('should not crash too', function() {
for (var i = 0; i < 10; i++) {
gc()
var buf = new Buffer(7)
Expand Down