diff options
author | isaacs <i@izs.me> | 2010-09-11 02:13:38 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-09-11 02:13:38 +0400 |
commit | 539fc5b60675f2fa67f763aa81436f01f7e91e10 (patch) | |
tree | fa0f29d99a7a1d512bfbbfeddafb47b101a43c20 /test | |
parent | a6644c71df43128c7c0508f96ee9c93b456fcbe5 (diff) |
Use "name@version" rather than "name-version". Everywhere.
This also affects the folders and files created for modules, man pages, and executables. I'm pretty sure the tests cover all the relevant issues, but expect a bit of regression.
Diffstat (limited to 'test')
-rwxr-xr-x | test/packages/bindir/test.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packages/bindir/test.js b/test/packages/bindir/test.js index 9d98f92c4..8f28ad867 100755 --- a/test/packages/bindir/test.js +++ b/test/packages/bindir/test.js @@ -8,7 +8,7 @@ var path = require("path") , name = process.env.npm_package_name , version = process.env.npm_package_version , prog = path.join(binroot, "prog") - , progVer = path.join(binroot, "prog-"+version) + , progVer = path.join(binroot, "prog@"+version) , bin = path.join(root, ".npm", name, version, "package", "bin", "prog.js") assert.equal(require(bin), require(progVer), "require('"+ bin +"') !== require('"+ progVer +"')") |