aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/core.js b/test/unit/core.js
index 6aa2a3d63..dc083de31 100644
--- a/test/unit/core.js
+++ b/test/unit/core.js
@@ -455,8 +455,8 @@ QUnit.test( "isNumeric", function( assert ) {
assert.ok( t( 1.5999999999999999 ), "Very precise floating point number" );
assert.ok( t( 8e5 ), "Exponential notation" );
assert.ok( t( "123e-2" ), "Exponential notation string" );
+ assert.ok( t( new ToString( "42" ) ), "Custom .toString returning number" );
- assert.equal( t( new ToString( "42" ) ), false, "Custom .toString returning number" );
assert.equal( t( "" ), false, "Empty string" );
assert.equal( t( " " ), false, "Whitespace characters string" );
assert.equal( t( "\t\t" ), false, "Tab characters string" );