Skip to content

Commit

Permalink
test for last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewplummer committed Aug 9, 2015
1 parent c190f2b commit af43867
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/environments/sugar/es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,10 @@ package('ES6', function () {

method('contains', function() {

equal(String.prototype.contains.length, 1);
// It seems the minifier may modify output functions to accept
// a different number of arguments, so we cannot guarantee that
// the length of this function will always be 1.
// equal(String.prototype.contains.length, 1);

equal('abc'.contains(), false);
equal('aundefinedb'.contains(), true);
Expand Down

0 comments on commit af43867

Please sign in to comment.