Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

dirname for the expresso test

  • Loading branch information...
commit 63a71e1c17acb870c7fb3b6b7125bd480633544a 1 parent 36f61da
@substack substack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/encode.js
View
2  test/encode.js
@@ -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)));
});
Please sign in to comment.
Something went wrong with that request. Please try again.