Skip to content

Refactor legacy Dagger tests to prefer assertThrows to try/fail.#5158

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_903498994
Apr 22, 2026
Merged

Refactor legacy Dagger tests to prefer assertThrows to try/fail.#5158
copybara-service[bot] merged 1 commit intomasterfrom
test_903498994

Conversation

@copybara-service
Copy link
Copy Markdown

Refactor legacy Dagger tests to prefer assertThrows to try/fail.

This change updates legacy tests in the Dagger project to use
org.junit.Assert.assertThrows instead of the try { ... fail(); } catch (...) { ... }
pattern.

RELNOTES=Refactor legacy tests to use assertThrows instead of try/fail.

This change updates legacy tests in the Dagger project to use
`org.junit.Assert.assertThrows` instead of the `try { ... fail(); } catch (...) { ... }`
pattern.

RELNOTES=Refactor legacy tests to use assertThrows instead of try/fail.
PiperOrigin-RevId: 903943435
@copybara-service copybara-service Bot merged commit f15088d into master Apr 22, 2026
@copybara-service copybara-service Bot deleted the test_903498994 branch April 22, 2026 18:15
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