whitespace.js 286 B

123456789101112
  1. var should = require('chai').should(),
  2. yargs = require('../');
  3. describe('whitespace', function () {
  4. it('should be whitespace', function () {
  5. var argv = yargs.parse([ '-x', '\t' ]);
  6. should.exist(argv);
  7. argv.should.have.property('x', '\t');
  8. });
  9. });