Replace isWhitespaceAt with trimmedLeftIndex and trimmedRightIndex.

This commit is contained in:
John-David Dalton
2014-01-01 10:52:28 -06:00
parent 5965591934
commit 6e5846d206
6 changed files with 243 additions and 191 deletions

View File

@@ -5744,7 +5744,7 @@
QUnit.module('lodash.parseInt');
(function() {
var whitespace = ' \t\x0B\f\xA0\ufeff\n\r\u2028\u2029\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000';
var whitespace = ' \t\x0B\f\xA0\ufeff\n\r\u2028\u2029\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000';
test('should accept a `radix` argument', function() {
var expected = _.range(2, 37);