Skip to content

Commit

Permalink
change test name
Browse files Browse the repository at this point in the history
  • Loading branch information
brianc committed Dec 21, 2010
1 parent b86f058 commit 7795e63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/index.js
Expand Up @@ -4,7 +4,6 @@ module.exports = {
var action = config.actions[0];
var i = 0
var doAction = function(action) {
console.log("i: %d", i);
//no more repeats to execute
if(config.repeat > i++) {
action.run(function() {
Expand Down
3 changes: 2 additions & 1 deletion test/initial-tests.js
@@ -1,7 +1,7 @@
var helper = require(__dirname + '/test-helper');
var bencher = require(__dirname + '/../lib');

test('simplest thing ever',function() {
test('single repeat',function() {
var ran = 0;
var benchmark = bencher.bench({
repeat: 1,
Expand All @@ -18,6 +18,7 @@ test('simplest thing ever',function() {
ran.should.equal(1)
}))
})

})

test('multiple itterations', function() {
Expand Down

0 comments on commit 7795e63

Please sign in to comment.