Index: test/debugger/debug/harmony/async-debug-caught-exception-cases.js |
diff --git a/test/debugger/debug/harmony/async-debug-caught-exception-cases.js b/test/debugger/debug/harmony/async-debug-caught-exception-cases.js |
index 99dc515bc25692065c0f50f22c444702e3e7351b..75563a726a1859fedb5cd4fbf970219238a25cff 100644 |
--- a/test/debugger/debug/harmony/async-debug-caught-exception-cases.js |
+++ b/test/debugger/debug/harmony/async-debug-caught-exception-cases.js |
@@ -208,9 +208,8 @@ function runPart(n) { |
Debug.clearBreakOnUncaughtException(); |
} |
if (expectedEvents != events) { |
- print(`producer ${producer} consumer ${consumer} expectedEvents ` + |
- `${expectedEvents} caught ${caught} events ${events}`); |
- quit(1); |
+ %AbortJS(`producer ${producer} consumer ${consumer} expectedEvents ` + |
+ `${expectedEvents} caught ${caught} events ${events}`); |
} |
} |
} |