You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
207 B
JavaScript
9 lines
207 B
JavaScript
6 years ago
|
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');
|
||
|
});
|