Skip to content

Commit

Permalink
Use assert in exclusive-contention.t.js.
Browse files Browse the repository at this point in the history
See #351.
  • Loading branch information
flatheadmill committed May 8, 2014
1 parent baaca79 commit 1e3572d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/issues/exclusive-contention.t.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node

require('./proof')(1, function (step, Strata, tmp, gather, deepEqual) {
require('./proof')(1, function (step, Strata, tmp, gather, assert) {
var strata = new Strata({ directory: tmp, leafSize: 3, branchSize: 3 })
step(function () {
strata.create(step())
Expand All @@ -21,7 +21,7 @@ require('./proof')(1, function (step, Strata, tmp, gather, deepEqual) {
})
})
}, function (records) {
deepEqual(records, [ 'a', 'b' ], 'records')
assert(records, [ 'a', 'b' ], 'records')
strata.close(step())
})
})

0 comments on commit 1e3572d

Please sign in to comment.