summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/pack-files-and-ignores.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/pack-files-and-ignores.js')
-rw-r--r--deps/npm/test/tap/pack-files-and-ignores.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/pack-files-and-ignores.js b/deps/npm/test/tap/pack-files-and-ignores.js
index 3bcb22c7fc..4d9b97a32a 100644
--- a/deps/npm/test/tap/pack-files-and-ignores.js
+++ b/deps/npm/test/tap/pack-files-and-ignores.js
@@ -6,7 +6,7 @@ var rimraf = require('rimraf')
var mkdirp = require('mkdirp')
var fs = require('graceful-fs')
var tar = require('tar')
-var basepath = path.resolve(__dirname, path.basename(__filename, '.js'))
+var basepath = common.pkg
var fixturepath = path.resolve(basepath, 'npm-test-files')
var targetpath = path.resolve(basepath, 'target')
var Tacks = require('tacks')
@@ -484,7 +484,7 @@ test('default-ignored files can be explicitly included', function (t) {
})
)
withFixture(t, fixture, function (done) {
- t.ok(fileExists('.git'), '.git included')
+ t.notOk(fileExists('.git'), '.git should never be included')
t.ok(fileExists('.svn'), '.svn included')
t.ok(fileExists('CVS'), 'CVS included')
t.ok(fileExists('.hg'), '.hg included')