mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11:06 +07:00
9 lines
207 B
JavaScript
9 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');
|
||
|
});
|