Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Fix issue with older node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Rodrigues committed Oct 15, 2012
1 parent f3eef81 commit a133cb7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/services/blob/blobservice-tests.js
Expand Up @@ -1215,13 +1215,13 @@ suite('blobservice-tests', function () {
blobService.getBlobToFile(containerName, blobName, fileNameTarget, function (error2) {
assert.equal(error2, null);

fs.exists(fileNameTarget, function (exists) {
assert.equal(exists, true);
var exists = azureutil.pathExistsSync(fileNameTarget);
assert.equal(exists, true);

var fileText = fs.readFileSync(fileNameTarget);
assert.equal(blobText, fileText);
done();
});
var fileText = fs.readFileSync(fileNameTarget);
assert.equal(blobText, fileText);

done();
});
});
});
Expand Down

0 comments on commit a133cb7

Please sign in to comment.