Skip to content

Commit

Permalink
Replace expect with assert
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisekp committed Aug 30, 2015
1 parent b63cc22 commit 7e49533
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions seed/challenges/basic-bonfires.json
Original file line number Diff line number Diff line change
Expand Up @@ -667,12 +667,12 @@
"Array.sort()"
],
"tests": [
"expect(where([10, 20, 30, 40, 50], 35)).to.equal(3);",
"expect(where([10, 20, 30, 40, 50], 30)).to.equal(2);",
"expect(where([40, 60], 50)).to.equal(1);",
"expect(where([5, 3, 20, 3], 3)).to.equal(0);",
"expect(where([2, 20, 10], 1)).to.equal(0);",
"expect(where([2, 5, 10], 15)).to.equal(3);"
"assert.strictEqual(where([10, 20, 30, 40, 50], 35), 3, '35 should be placed at index 3');",
"assert.strictEqual(where([10, 20, 30, 40, 50], 30), 2, '30 should be placed at index 2');",
"assert.strictEqual(where([40, 60], 50), 1, '50 should be placed at index 1');",
"assert.strictEqual(where([5, 3, 20, 3], 3), 0, '3 should be placed at index 0');",
"assert.strictEqual(where([2, 20, 10], 1), 0, '1 should be placed at index 1');",
"assert.strictEqual(where([2, 5, 10], 15), 3, '15 should be placed at index 3');"
],
"type": "bonfire",
"challengeType": 5,
Expand Down

0 comments on commit 7e49533

Please sign in to comment.