Skip to content

test(pool): assert expired swap error - #111

Merged
0takuc0mrade merged 1 commit into
mainfrom
test/assert-expired-swap-error
Jul 23, 2026
Merged

test(pool): assert expired swap error#111
0takuc0mrade merged 1 commit into
mainfrom
test/assert-expired-swap-error

Conversation

@0takuc0mrade

Copy link
Copy Markdown
Contributor

Summary

Strengthens the deadline regression test added by #110 so it asserts the exact Error::Expired contract error instead of accepting any failure.

This prevents the test from passing because of an unrelated error such as insufficient liquidity.

Validation

  • cargo fmt --all -- --check
  • make test (72 tests passed across pool and LP token crates)

@0takuc0mrade
0takuc0mrade merged commit 1f4aa94 into main Jul 23, 2026
3 checks passed
@0takuc0mrade
0takuc0mrade deleted the test/assert-expired-swap-error branch July 23, 2026 21:45
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