mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix spelling mistake from bug 433248's patch (comment failure string)
This commit is contained in:
parent
ec69c9db81
commit
5b86b4dd6c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user