aboutsummaryrefslogtreecommitdiff
path: root/Examples/javascript/exception/runme.js
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/javascript/exception/runme.js')
-rw-r--r--Examples/javascript/exception/runme.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/Examples/javascript/exception/runme.js b/Examples/javascript/exception/runme.js
index 43ce66d6d..1001a7111 100644
--- a/Examples/javascript/exception/runme.js
+++ b/Examples/javascript/exception/runme.js
@@ -10,7 +10,7 @@ try{
if(error == -1) {
console.log("t.unknown() didn't throw");
} else {
- console.log("successfully catched throw in Test::unknown().");
+ console.log("successfully caught throw in Test::unknown().");
}
}
@@ -22,7 +22,7 @@ catch(error){
if(error == -1) {
console.log("t.simple() did not throw");
} else {
- console.log("successfully catched throw in Test::simple().");
+ console.log("successfully caught throw in Test::simple().");
}
}
@@ -33,7 +33,7 @@ try{
if(error == -1) {
console.log("t.message() did not throw");
} else {
- console.log("successfully catched throw in Test::message().");
+ console.log("successfully caught throw in Test::message().");
}
}
@@ -45,7 +45,7 @@ catch(error){
if(error == -1) {
console.log("t.hosed() did not throw");
} else {
- console.log("successfully catched throw in Test::hosed().");
+ console.log("successfully caught throw in Test::hosed().");
}
}
@@ -58,7 +58,7 @@ for (var i=1; i<4; i++) {
if(error == -1) {
console.log("t.multi(" + i + ") did not throw");
} else {
- console.log("successfully catched throw in Test::multi().");
+ console.log("successfully caught throw in Test::multi().");
}
}
}