Permalink
Browse files

dirname for the expresso test

  • Loading branch information...
1 parent 36f61da commit 63a71e1c17acb870c7fb3b6b7125bd480633544a @substack substack committed Nov 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/encode.js
View
@@ -12,7 +12,7 @@ function md5hex (data) {
exports.encode = function (assert) {
Hash(hashes).forEach(function (hash, file) {
- fs.readFile(file, function (err, buf) {
+ fs.readFile(__dirname + '/' + file, function (err, buf) {
if (err) throw err;
assert.equal(hash, md5hex(base64.encode(buf)));
});

0 comments on commit 63a71e1

Please sign in to comment.