setup-python/node_modules/optimist/test/whitespace.js

9 lines
207 B
JavaScript
Raw Normal View History

2019-06-27 03:12:00 +02:00
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');
});