odin-javascript-exercises/node_modules/minimist/test/whitespace.js

9 lines
191 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
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');
});