setup-python/node_modules/optimist/test/whitespace.js
Danny McCormick 39c08a0eaa Initial pass
2019-06-26 21:12:00 -04:00

8 lines
207 B
JavaScript

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');
});