disruption
This commit is contained in:
@@ -1741,7 +1741,7 @@ TEST(has_exception_initially_false) {
|
||||
|
||||
TEST(throw_and_check_exception) {
|
||||
ASSERT(!JS_HasException(ctx));
|
||||
JS_ThrowTypeError(ctx, "test error");
|
||||
JS_RaiseDisrupt(ctx, "test error");
|
||||
ASSERT(JS_HasException(ctx));
|
||||
JS_GetException(ctx); /* clear it */
|
||||
ASSERT(!JS_HasException(ctx));
|
||||
|
||||
Reference in New Issue
Block a user