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