Skip to content

Commit

Permalink
Include browser-upgrade in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lauriro committed Mar 12, 2014
1 parent d97cd91 commit 75446d9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@



@version 0.1.5
@version 0.1.6
@date 2014-03-11
@stability 2 - Unstable

Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


/*
* @version 0.1.5
* @version 0.1.6
* @date 2014-03-11
* @stability 2 - Unstable
* @author Lauri Rooden <lauri@rooden.ee>
Expand Down Expand Up @@ -227,7 +227,7 @@
return this.ok( a === b, options || "Expected: "+b+" Got: "+a )
},
anyOf: function(a, b, options) {
return this.ok( b && b.indexOf && b.indexOf(a) != -1, options || "should be one of '" + b + "', got " + a )
return this.ok( Array.isArray(b) && b.indexOf(a) != -1, options || "should be one of '" + b + "', got " + a )
},
type: function(thing, expected, options) {
var t = type(thing)
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "testman",
"version": "0.1.5",
"version": "0.1.6",
"stability": 2,
"license": "MIT",
"author": "Lauri Rooden <lauri@rooden.ee>",
Expand All @@ -24,7 +24,8 @@
"url": "https://github.com/lauriro/testman/issues"
},
"devDependencies": {
"buildman": "*"
"buildman": "*",
"browser-upgrade-lite": "*"
},
"buildman": {
"min.js": "index.js"
Expand Down
1 change: 1 addition & 0 deletions tests/run.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var undef;
var mod = require("browser-upgrade-lite");


require("../").
Expand Down

0 comments on commit 75446d9

Please sign in to comment.