Skip to content

Commit

Permalink
fix XO lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 16, 2016
1 parent 6969b81 commit bf66f3a
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions test.js
Expand Up @@ -75,7 +75,16 @@ test('single character flag casing should be preserved', t => {
test('type inference', t => {
t.is(fn({argv: ['5']}).input[0], '5');
t.is(fn({argv: ['5']}, {string: ['_']}).input[0], '5');
t.is(fn({argv: ['5'], inferType: true}).input[0], 5);
t.is(fn({argv: ['5'], inferType: true}, {string: ['foo']}).input[0], 5);
t.is(fn({argv: ['5'], inferType: true}, {string: ['_', 'foo']}).input[0], 5);
t.is(fn({
argv: ['5'],
inferType: true
}).input[0], 5);
t.is(fn({
argv: ['5'],
inferType: true
}, {string: ['foo']}).input[0], 5);
t.is(fn({
argv: ['5'],
inferType: true
}, {string: ['_', 'foo']}).input[0], 5);
});

0 comments on commit bf66f3a

Please sign in to comment.