diff --git a/js/common/tests/shell-fs.js b/js/common/tests/shell-fs.js index 4d0d17e589..f94bac1a06 100644 --- a/js/common/tests/shell-fs.js +++ b/js/common/tests/shell-fs.js @@ -321,7 +321,7 @@ function FileSystemSuite () { fail(); } catch (err) { - assertEqual(ERRORS.ERROR_SYS_ERROR.code, err.errorNum); + assertEqual(ERRORS.ERROR_FILE_EXISTS.code, err.errorNum); } // create a subdirectory in the directory we created