Skip to content

test: remove_asset panics when asset not in allowlist (#397)#654

Open
devJaja wants to merge 1 commit intoSynapse-bridgez:mainfrom
devJaja:feature/issue-116-test-remove-unknown-asset
Open

test: remove_asset panics when asset not in allowlist (#397)#654
devJaja wants to merge 1 commit intoSynapse-bridgez:mainfrom
devJaja:feature/issue-116-test-remove-unknown-asset

Conversation

@devJaja
Copy link
Copy Markdown
Contributor

@devJaja devJaja commented Apr 1, 2026

Overview

Add regression test confirming remove_asset panics with "asset not in allowlist" when called with an asset code
that was never added to the allowlist.

Changes

  • tests/contract_test.rs: add remove_asset_panics_when_asset_not_in_allowlist

Testing

cargo test remove_asset_panics_when_asset_not_in_allowlist

Closes: #397

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Apr 1, 2026

@devJaja Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Test: remove non-existent asset panics (requires #14)

1 participant