From 81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Wed, 18 Nov 2020 23:26:45 +0100 Subject: rm node_modules --- node_modules/shell-quote/test/env_fn.js | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 node_modules/shell-quote/test/env_fn.js (limited to 'node_modules/shell-quote/test/env_fn.js') diff --git a/node_modules/shell-quote/test/env_fn.js b/node_modules/shell-quote/test/env_fn.js deleted file mode 100644 index b9f3c20..0000000 --- a/node_modules/shell-quote/test/env_fn.js +++ /dev/null @@ -1,19 +0,0 @@ -var test = require('tape'); -var parse = require('../').parse; - -test('functional env expansion', function (t) { - t.plan(4); - - t.same(parse('a $XYZ c', getEnv), [ 'a', 'xxx', 'c' ]); - t.same(parse('a $XYZ c', getEnvObj), [ 'a', { op: '@@' }, 'c' ]); - t.same(parse('a${XYZ}c', getEnvObj), [ 'a', { op: '@@' }, 'c' ]); - t.same(parse('"a $XYZ c"', getEnvObj), [ 'a ', { op: '@@' }, ' c' ]); - - function getEnv (key) { - return 'xxx'; - } - - function getEnvObj (key) { - return { op: '@@' }; - } -}); -- cgit v1.2.3