Skip to content

Commit

Permalink
Remove unused insert method from Proof harness.
Browse files Browse the repository at this point in the history
See #520.
  • Loading branch information
flatheadmill committed Dec 15, 2015
1 parent 9a3b4a8 commit dbecccf
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions t/proof.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,6 @@ function load (segments, callback) {
}
}

// TODO do not accept async, make a real function.
function insert (async, strata, values) {
async(function () {
values.sort()
strata.mutator(values[0], async())
}, function (cursor) {
async(function () {
cursor.insert(values[0], values[0], ~ cursor.index)
cursor.unlock(async())
})
})
}

var gather = cadence(function (async, strata) {
var records = [], page, item
if (typeof strata == 'function') throw new Error
Expand Down Expand Up @@ -371,7 +358,6 @@ var invoke = cadence(function (async, tmp, assert, test) {
assert.global('tmp', tmp)
assert.global('load', load)
assert.global('stringify', stringify)
assert.global('_insert', insert)
assert.global('serialize', serialize)
assert.global('gather', gather)
assert.global('vivify', vivify)
Expand Down

0 comments on commit dbecccf

Please sign in to comment.