diff options
Diffstat (limited to 'node_modules/es5-ext/test/string/raw')
| -rw-r--r-- | node_modules/es5-ext/test/string/raw/implement.js | 7 | ||||
| -rw-r--r-- | node_modules/es5-ext/test/string/raw/index.js | 3 | ||||
| -rw-r--r-- | node_modules/es5-ext/test/string/raw/is-implemented.js | 5 | ||||
| -rw-r--r-- | node_modules/es5-ext/test/string/raw/shim.js | 15 |
4 files changed, 0 insertions, 30 deletions
diff --git a/node_modules/es5-ext/test/string/raw/implement.js b/node_modules/es5-ext/test/string/raw/implement.js deleted file mode 100644 index 25b624e8e..000000000 --- a/node_modules/es5-ext/test/string/raw/implement.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; - -var isImplemented = require("../../../string/raw/is-implemented"); - -module.exports = function (a) { - a(isImplemented(), true); -}; diff --git a/node_modules/es5-ext/test/string/raw/index.js b/node_modules/es5-ext/test/string/raw/index.js deleted file mode 100644 index 10bb8f65d..000000000 --- a/node_modules/es5-ext/test/string/raw/index.js +++ /dev/null @@ -1,3 +0,0 @@ -"use strict"; - -module.exports = require("./shim"); diff --git a/node_modules/es5-ext/test/string/raw/is-implemented.js b/node_modules/es5-ext/test/string/raw/is-implemented.js deleted file mode 100644 index 5003e7e93..000000000 --- a/node_modules/es5-ext/test/string/raw/is-implemented.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -module.exports = function (t, a) { - a(typeof t(), "boolean"); -}; diff --git a/node_modules/es5-ext/test/string/raw/shim.js b/node_modules/es5-ext/test/string/raw/shim.js deleted file mode 100644 index 17a11ac52..000000000 --- a/node_modules/es5-ext/test/string/raw/shim.js +++ /dev/null @@ -1,15 +0,0 @@ -// Partially taken from: -// https://github.com/paulmillr/es6-shim/blob/master/test/string.js - -"use strict"; - -module.exports = function (t, a) { - var callSite = []; - - callSite.raw = ["The total is ", " ($", " with tax)"]; - a(t(callSite, "{total}", "{total * 1.01}"), - "The total is {total} (${total * 1.01} with tax)"); - - callSite.raw = []; - a(t(callSite, "{total}", "{total * 1.01}"), ""); -}; |
