Avoid testing constructors which may be shimmed.

This commit is contained in:
John-David Dalton
2014-08-20 02:29:02 -07:00
parent 58b3e9f201
commit bde931f2f5

View File

@@ -6088,10 +6088,10 @@
(function() {
var args = arguments;
test('should return `true` for native methods', 10, function() {
_.each([root.alert, Array, create, freeze, root.prompt, push, slice, Uint8Array, WeakMap], function(func, i) {
test('should return `true` for native methods', 8, function() {
_.each([root.alert, Array, create, freeze, root.prompt, slice, Uint8Array], function(func) {
if (func) {
strictEqual(_.isNative(func), true, String(i));
strictEqual(_.isNative(func), true);
}
else {
skipTest();