We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b29bd7 commit 6998bb4Copy full SHA for 6998bb4
test/support/protocol_test_case.rb
@@ -334,9 +334,12 @@ def execute_dap_scenario scenario
334
335
attach_to_dap_server
336
scenario.call
337
+ rescue Test::Unit::AssertionFailedError => e
338
+ is_assertion_failure = true
339
+ raise e
340
ensure
341
kill_remote_debuggee test_info
- if name = test_info.failed_process
342
+ if name = test_info.failed_process && !is_assertion_failure
343
flunk create_protocol_message "Expected the debuggee program to finish"
344
end
345
# Because the debuggee may be terminated by executing the following operations, we need to run them after `kill_remote_debuggee` method.
0 commit comments