ossp-pkg/ex/ex_test.c 1.4 -> 1.5
--- ex_test.c 2002/01/26 22:35:02 1.4
+++ ex_test.c 2002/01/26 22:42:46 1.5
@@ -116,16 +116,16 @@
ex_t ex;
ts_test_check(TS_CTX, "exception shielding");
- if (ex_shielded)
- ts_test_fail(TS_CTX, "unexpected shielded scope");
+ if (ex_shielding)
+ ts_test_fail(TS_CTX, "unexpected shielding scope");
ex_try {
ex_shield {
- if (!ex_shielded)
- ts_test_fail(TS_CTX, "unexpected non-shielded scope");
+ if (!ex_shielding)
+ ts_test_fail(TS_CTX, "unexpected non-shielding scope");
ex_throw(0, 0, 0);
}
- if (ex_shielded)
- ts_test_fail(TS_CTX, "unexpected shielded scope");
+ if (ex_shielding)
+ ts_test_fail(TS_CTX, "unexpected shielding scope");
}
ex_catch (ex) {
ts_test_fail(TS_CTX, "unexpected exception catched");
|
|