We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448154d commit f096e94Copy full SHA for f096e94
features/step_definitions/additional_cli_steps.rb
@@ -174,7 +174,10 @@
174
175
Then(/^bisect should (succeed|fail) with output like:$/) do |succeed, expected_output|
176
last_process = only_processes.last
177
- expect(last_exit_status).to eq(succeed == "succeed" ? 0 : 1)
+ expected_status = succeed == "succeed" ? 0 : 1
178
+ expect(last_exit_status).to eq(expected_status),
179
+ "Expected exit status of #{expected_status} but got #{last_exit_status} \n\n" \
180
+ "Output:\n\n#{last_process.stdout}"
181
182
expected = normalize_durations(expected_output)
183
actual = normalize_durations(last_process.stdout)
0 commit comments