whitespace.js 207 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 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'); });