Skip to content

assert the method lookup instead of panicking in the dart client tests - #287

Merged
eburgos merged 1 commit into
masterfrom
assert-in-dart-client-helper
Sep 6, 2026
Merged

assert the method lookup instead of panicking in the dart client tests#287
eburgos merged 1 commit into
masterfrom
assert-in-dart-client-helper

Conversation

@eburgos

@eburgos eburgos commented Sep 6, 2026

Copy link
Copy Markdown
Owner

The dart client test helper used unwrap_or_else(|| panic!(...)), which fails -D clippy::panic under any feature set that compiles the dart-gated test module — a set the default-feature fast gate never builds, so only the periodic powerset caught it. Replaced with the sibling helper's assert-then-unwrap shape; same failure message. Reproduced red on the exact failing combination, green after.

The helper's panic! fails clippy's panic deny under any feature set
that compiles the dart-gated test module - a set the default-feature
fast gate never builds. The sibling helper's assert-then-unwrap shape
is what the lint levels admit; the failure message is unchanged.
@eburgos
eburgos merged commit e6e0855 into master Sep 6, 2026
1 check passed
@eburgos
eburgos deleted the assert-in-dart-client-helper branch September 6, 2026 01:23
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