Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

failing test

  • Loading branch information...
commit 8a70eddcc7160225c68287aa3e8659fd2f191048 1 parent d1f4adc
@brianc authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 test/initial-tests.js
View
7 test/initial-tests.js
@@ -2,19 +2,20 @@ var helper = require(__dirname + '/test-helper');
var bencher = require(__dirname + '/../lib');
test('simplest thing ever',function() {
- var ran = false;
+ var ran = 0;
var benchmark = bencher.bench({
+ repeat: 3
actions:[{
name: 'first',
run: function(next) {
- ran = true;
+ ran++;
next();
}
}]
})
test('execues', function() {
benchmark(should.call(function() {
- ran.should.equal(true)
+ ran.should.equal(3)
}))
})
})
Please sign in to comment.
Something went wrong with that request. Please try again.