Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

Commit

Permalink
fixing variable name in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thoop committed Aug 3, 2016
1 parent fb9629f commit a17cf74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ exports.testCleanPath = function (test) {

exports.testBogusReinstallLocation = function (test) {
util.findValidPhantomJsBinary('./blargh')
.then(function (success) {
test.ok(!success, 'Expected link to fail')
.then(function (binaryLocation) {
test.ok(!binaryLocation, 'Expected link to fail')
test.done()
})
}
Expand All @@ -84,8 +84,8 @@ exports.testSuccessfulReinstallLocation = function (test) {

exports.testBogusVerifyChecksum = function (test) {
util.verifyChecksum(path.resolve(__dirname, './exit.js'), 'blargh')
.then(function (binaryLocation) {
test.ok(!binaryLocation, 'Expected checksum to fail')
.then(function (success) {
test.ok(!success, 'Expected checksum to fail')
test.done()
})
}
Expand Down

0 comments on commit a17cf74

Please sign in to comment.