install-nix-action/node_modules/optimist/test/whitespace.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01: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');
});