summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2017-01-26 17:21:26 +0100
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-01-30 14:47:24 -0500
commitafb7c1bac87d943a9ca6422c7100e0e3fe291740 (patch)
tree1ce1f8214473a200de9de52989c1ec8aad8ddf89 /deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js
parent5de3cf099cd01c84d1809dab90c041b76aa58d8e (diff)
downloadandroid-node-v8-afb7c1bac87d943a9ca6422c7100e0e3fe291740.tar.gz
android-node-v8-afb7c1bac87d943a9ca6422c7100e0e3fe291740.tar.bz2
android-node-v8-afb7c1bac87d943a9ca6422c7100e0e3fe291740.zip
deps: upgrade npm to 4.1.2
PR-URL: https://github.com/nodejs/node/pull/11020 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js')
-rw-r--r--deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js b/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js
deleted file mode 100644
index aec2605cc2..0000000000
--- a/deps/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/object/set-prototype-of/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-'use strict';
-
-var create = require('../../../object/create')
-
- , getPrototypeOf = Object.getPrototypeOf;
-
-module.exports = function (t, a) {
- var x = {}, y = {};
-
- if (t === null) return;
- a(t(x, y), x, "Return self object");
- a(getPrototypeOf(x), y, "Object");
- a.throws(function () { t(x); }, TypeError, "Undefined");
- a.throws(function () { t('foo'); }, TypeError, "Primitive");
- a(getPrototypeOf(t(x, null)), t.nullPolyfill || null, "Null");
- x = create(null);
- a.h1("Change null prototype");
- a(t(x, y), x, "Result");
- a(getPrototypeOf(x), y, "Prototype");
- a.h1("Set null prototype");
- a(t(y, null), y, "Result");
- a(getPrototypeOf(y), t.nullPolyfill || null, "Prototype");
-};