Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert_msg! should be implemented via msg! #59

Open
loyd opened this issue May 17, 2022 · 0 comments
Open

assert_msg! should be implemented via msg! #59

loyd opened this issue May 17, 2022 · 0 comments
Labels
A-macros Area: The elfo-macros crate. C-question Category: User questions that are neither feature requests nor bug reports

Comments

@loyd
Copy link
Collaborator

loyd commented May 17, 2022

It also allows the following code

// works
assert_msg!(proxy.recv().await, SomeEvent { .. });

// doesn't work
assert_msg!(proxy.recv().await, SomeEvent);
@loyd loyd added C-question Category: User questions that are neither feature requests nor bug reports A-macros Area: The elfo-macros crate. labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-macros Area: The elfo-macros crate. C-question Category: User questions that are neither feature requests nor bug reports
Projects
None yet
Development

No branches or pull requests

1 participant