Skip to content

Commit

Permalink
upgrade tape, fix type issues from old tape version
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Mar 11, 2015
1 parent e5f419a commit 806712d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,24 @@
"description": "parse argument options",
"main": "index.js",
"devDependencies": {
"tape": "~1.0.4",
"covert": "^1.0.0",
"tap": "~0.4.0",
"covert": "^1.0.0"
"tape": "^3.5.0"
},
"scripts": {
"test": "tap test/*.js",
"coverage": "covert test/*.js"
},
"testling" : {
"files" : "test/*.js",
"browsers" : [
"testling": {
"files": "test/*.js",
"browsers": [
"ie/6..latest",
"ff/5", "firefox/latest",
"chrome/10", "chrome/latest",
"safari/5.1", "safari/latest",
"ff/5",
"firefox/latest",
"chrome/10",
"chrome/latest",
"safari/5.1",
"safari/latest",
"opera/12"
]
},
Expand Down
2 changes: 1 addition & 1 deletion test/all_bool.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ test('flag boolean true only affects double hyphen arguments without equals sign
t.deepEqual(argv, {
honk: true,
tacos: 'good',
p: '55',
p: 55,
_: ['moo', 'cow']
});

Expand Down
2 changes: 1 addition & 1 deletion test/parse_modified.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ test('parse with modifier functions' , function (t) {
t.plan(1);

var argv = parse([ '-b', '123' ], { boolean: 'b' });
t.deepEqual(argv, { b: true, _: ['123'] });
t.deepEqual(argv, { b: true, _: [123] });
});

0 comments on commit 806712d

Please sign in to comment.