Permalink
Browse files

another indexOf test to make the goal more clear

  • Loading branch information...
1 parent e79d488 commit a45a377f6b8fce504da7a6c6f03f4b90dc6f8704 @rmurphey committed Aug 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/app/arrays.js
View
@@ -13,6 +13,7 @@ define([
it("you should be able to determine the location of an item in an array", function() {
expect(answers.indexOf(a, 3)).to.be(2);
+ expect(answers.indexOf(a, 5)).to.be(-1);
});
it("you should be able to add the values of an array", function() {

0 comments on commit a45a377

Please sign in to comment.