fixed spec

This commit is contained in:
Kevin Jahns 2016-01-22 14:16:16 +01:00
parent 1b3f5443b3
commit 364ed325b0
2 changed files with 2 additions and 9 deletions

2
.vscode/launch.json vendored
View File

@ -7,7 +7,7 @@
"request": "launch", "request": "launch",
"program": "node_modules/gulp/bin/gulp.js", "program": "node_modules/gulp/bin/gulp.js",
"stopOnEntry": false, "stopOnEntry": false,
"args": ["dev:examples"], "args": ["test"],
"cwd": ".", "cwd": ".",
"runtimeExecutable": null, "runtimeExecutable": null,
"runtimeArgs": [ "runtimeArgs": [

View File

@ -340,14 +340,7 @@ module.exports = function (Y /* : any*/) {
} }
} }
} }
for (i = 0; i < this.writeBuffer.length; i++) { yield* this.flush()
r = this.writeBuffer[i]
if (r.id[1] === id[1] && r.id[0] === id[0]) {
this.writeBuffer[i] = {
id: [null, null]
}
}
}
yield* super.delete(id) yield* super.delete(id)
} }
* findWithLowerBound () { * findWithLowerBound () {