Commit 3425f11f authored by Hunter Loftis's avatar Hunter Loftis

updated tests for node 4 and npm 3

parent 283c52a3
......@@ -171,7 +171,7 @@ testNoVersion() {
compile "no-version"
assertCaptured "engines.node (package.json): unspecified"
assertCaptured "Resolving node version (latest stable) via semver.io"
assertCaptured "Downloading and installing node 0.12."
assertCaptured "Downloading and installing node 4."
assertCapturedSuccess
}
......@@ -199,7 +199,7 @@ testUnstableVersion() {
testOldNpm() {
compile "old-npm"
assertCaptured "This version of npm (1.2.8000) has several known issues - consider upgrading to the latest release (2."
assertCaptured "This version of npm (1.2.8000) has several known issues - consider upgrading to the latest release (3."
assertNotCaptured "integer expression expected"
assertCapturedError
}
......@@ -275,7 +275,7 @@ testDangerousRangeStar() {
compile "dangerous-range-star"
assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version * via semver.io"
assertCaptured "Downloading and installing node 0.12."
assertCaptured "Downloading and installing node 4."
assertCapturedError
}
......@@ -283,14 +283,14 @@ testDangerousRangeGreaterThan() {
compile "dangerous-range-greater-than"
assertCaptured "Dangerous semver range"
assertCaptured "Resolving node version >0.4 via semver.io"
assertCaptured "Downloading and installing node 0.12"
assertCaptured "Downloading and installing node 4."
assertCapturedError
}
testRangeWithSpace() {
compile "range-with-space"
assertCaptured "Resolving node version >= 0.8.x via semver.io"
assertCaptured "Downloading and installing node 0.12"
assertCaptured "Downloading and installing node 4."
assertCapturedSuccess
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment