Skip to content

Commit

Permalink
Correct alternateSign test text (JS-Challenges#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
mybrainishuge authored Apr 12, 2018
1 parent 50088d7 commit dc128f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/part1.js
Original file line number Diff line number Diff line change
Expand Up @@ -1868,7 +1868,7 @@
expect(alternateSign(input2)).to.not.equal(input2);
});

it('should remove excess zeroes', function() {
it('should alternate signs', function() {
expect(alternateSign(input1)).to.eql([2,-7,8,-3,1,-4]);
expect(alternateSign(input2)).to.eql([2,-7,8,-3,1,-4]);
});
Expand Down

0 comments on commit dc128f5

Please sign in to comment.