Skip to content

Restore capture_stderr helper used by JSON formatter specs#1177

Merged
sferik merged 1 commit into
mainfrom
restore-capture-stderr-helper
May 4, 2026
Merged

Restore capture_stderr helper used by JSON formatter specs#1177
sferik merged 1 commit into
mainfrom
restore-capture-stderr-helper

Conversation

@sferik
Copy link
Copy Markdown
Collaborator

@sferik sferik commented May 4, 2026

Restores capture_stderr to spec/helper.rb. It was dropped in 2729bdf when nothing was using it, but the concurrent-overwrite warning specs added in f9b698a depend on it. The two changes only collided after rebase, so the merged tip of main fails on every Ruby version with NoMethodError: undefined method 'capture_stderr' in four examples in spec/json_formatter_spec.rb.

The helper was removed in 2729bdf when it had no callers. The
concurrent-overwrite warning specs added in f9b698a depend on it,
so the merged tip of main fails on every Ruby version with
NoMethodError: undefined method 'capture_stderr'.
@sferik sferik force-pushed the restore-capture-stderr-helper branch from cb1cf4e to 0d3eda0 Compare May 4, 2026 21:44
@sferik sferik merged commit 9f0a125 into main May 4, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant