Skip to content

test: restore state get assertions after stdout migration - #2168

Merged
max-sixty merged 1 commit into
mainfrom
state-test-stdout-assertions
Apr 13, 2026
Merged

max-sixty merged 1 commit into
mainfrom
state-test-stdout-assertions

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

Three tests in tests/integration_tests/config_state.rs were asserting on stderr with empty inline snapshots — they kept passing after #2155 moved wt config state output from stderr to stdout, but no longer verified anything. This swaps the assertions to stdout and captures the real content.

Affected tests: test_state_get_empty, test_state_get_logs_empty, test_state_get_logs_dir_exists_no_log_files.

This was written by Claude Code on behalf of Maximilian.

Three tests in config_state.rs were asserting on stderr with empty inline
snapshots — they kept passing after PR #2155 moved state output from stderr
to stdout, but no longer verified anything. Switch the assertions to stdout
and capture the real content.

Co-Authored-By: Claude <[email protected]>
@max-sixty
max-sixty merged commit eebce78 into main Apr 13, 2026
24 checks passed
@max-sixty
max-sixty deleted the state-test-stdout-assertions branch April 13, 2026 03:57
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.

2 participants