Add _.isNumber unit test for Firefox [xpconnect wrapped native prototype] issues.

Former-commit-id: d81b0bb7807139d14796c2a952294d1fd581f73a
This commit is contained in:
John-David Dalton
2013-02-01 01:25:10 -08:00
parent 8adb060edb
commit b296e1b340

View File

@@ -1170,6 +1170,16 @@
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.isNumber');
(function() {
test('should avoid `[xpconnect wrapped native prototype]` in Firefox', function() {
strictEqual(_.isNumber(+"2"), true);
});
}());
/*--------------------------------------------------------------------------*/
QUnit.module('lodash.isPlainObject');
(function() {