Skip to content
This repository was archived by the owner on Aug 20, 2018. It is now read-only.

Commit 82d1826

Browse files
committed
Bug 783223 - addressed comments, part 5:
- assert file.exists()
1 parent 3a32f02 commit 82d1826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mutt/mutt/tests/js/utils/savescreenshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var testScreenshotSaveCorruption = function() {
3838
// Try to read back the saved dataURL
3939
var file = Cc['@mozilla.org/file/local;1'].createInstance(Ci.nsILocalFile);
4040
file.initWithPath(filename);
41-
expect.ok(file.exists(), "File '" + file.path + "' exists.");
41+
assert.ok(file.exists(), "File '" + file.path + "' exists.");
4242

4343
var loadedDataURL = brodyFile2DataURL.getDataURLFromFile(file);
4444
expect.equal(smile5x5DataURL, loadedDataURL, "DataURL has been saved correctly.");

0 commit comments

Comments
 (0)