Skip to content

Commit

Permalink
Fixed inarray
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmalcolm committed Mar 24, 2011
1 parent 458f7fa commit 064ff03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions koans/AboutUtilities.js
Expand Up @@ -53,9 +53,9 @@ describe("About Utilities", function() {

var array = ["Pie", 42, "Cake", "BoogieMonster"];

var pieInArrayResult = $.inArray(array, "Pie");
var boogieMonsterInArrayResult = $.inArray(array, "BoogieMonster");
var notFoundInArrayResult = $.inArray(array, 98765);
var pieInArrayResult = $.inArray("Pie", array);
var boogieMonsterInArrayResult = $.inArray("BoogieMonster", array);
var notFoundInArrayResult = $.inArray(98765, array);

expect(pieInArrayResult).toEqual(__);
expect(boogieMonsterInArrayResult).toEqual(__);
Expand Down

0 comments on commit 064ff03

Please sign in to comment.