From d6e269c7f66ef57e604c269370353c4f1505f3b8 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 28 Apr 2013 16:48:54 -0700 Subject: [PATCH] Avoid special characters in the whitespace unit test. Former-commit-id: 5344bbdb0cd96a3a7d275facc7160c1afa1e971e --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 4177d6c1c..d34019f0a 100644 --- a/test/test.js +++ b/test/test.js @@ -2048,7 +2048,7 @@ (function() { test('should parse strings with leading whitespace and zeros with a `radix` of 10 by default (test in Chrome, Firefox, and Opera)', function() { - var whitespace = ' \t\x0B\f\xA0\ufeff\x0A\x0D\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000'; + var whitespace = ' \x09\x0B\x0C\xA0\ufeff\x0A\x0D\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000'; equal(_.parseInt('08'), 8); equal(_.parseInt(whitespace + '08'), 8); });