Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

fixed a test

Tj Holowaychuk28fd18192603
diff --git a/test/bdd.js b/test/bdd.js
index 3a3198c1..80f9817f 100644
--- a/test/bdd.js
+++ b/test/bdd.js
@@ -9,7 +9,7 @@ describe('Array', function(){
it('should return the correct index when the value is present', function(){
[1,2,3].indexOf(1).should.equal(0);
[1,2,3].indexOf(2).should.equal(1);
- [1,2,3].indexOf(5).should.equal(2);
+ [1,2,3].indexOf(3).should.equal(2);
})
})
})