Fix spelling mistake from bug 433248's patch (comment failure string)

This commit is contained in:
Gavin Sharp 2008-07-01 03:12:46 -04:00
Родитель 25f41414e8
Коммит bdaf9ce213
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -42,7 +42,7 @@ function run_test()
// zipW is an uninitialised zipwriter at this point. // zipW is an uninitialised zipwriter at this point.
try { try {
test = zipW.file; test = zipW.file;
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -50,7 +50,7 @@ function run_test()
try { try {
test = zipW.comment; test = zipW.comment;
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -58,7 +58,7 @@ function run_test()
try { try {
zipW.comment = "test"; zipW.comment = "test";
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -66,7 +66,7 @@ function run_test()
try { try {
zipW.addEntryDirectory("test", 0, false); zipW.addEntryDirectory("test", 0, false);
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -74,7 +74,7 @@ function run_test()
try { try {
zipW.addEntryFile("test", Ci.nsIZipWriter.COMPRESSION_DEFAULT, tmpDir, false); zipW.addEntryFile("test", Ci.nsIZipWriter.COMPRESSION_DEFAULT, tmpDir, false);
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -82,7 +82,7 @@ function run_test()
try { try {
zipW.removeEntry("test", false); zipW.removeEntry("test", false);
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -90,7 +90,7 @@ function run_test()
try { try {
zipW.processQueue(null, null); zipW.processQueue(null, null);
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);
@ -98,7 +98,7 @@ function run_test()
try { try {
zipW.close(); zipW.close();
do_throw("Should have thrown unitialised error."); do_throw("Should have thrown uninitialized error.");
} }
catch (e) { catch (e) {
do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED); do_check_eq(e.result, Components.results.NS_ERROR_NOT_INITIALIZED);