aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/test/whitespace.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/test/whitespace.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/test/whitespace.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/test/whitespace.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/test/whitespace.js
new file mode 100644
index 00000000..90b90752
--- /dev/null
+++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/optimist/test/whitespace.js
@@ -0,0 +1,8 @@
+var optimist = require('../');
+var test = require('tap').test;
+
+test('whitespace should be whitespace' , function (t) {
+ t.plan(1);
+ var x = optimist.parse([ '-x', '\t' ]).x;
+ t.equal(x, '\t');
+});