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

Tests are not functioning correctly #50

Closed
overlookmotel opened this issue Aug 25, 2024 · 1 comment
Closed

Tests are not functioning correctly #50

overlookmotel opened this issue Aug 25, 2024 · 1 comment

Comments

@overlookmotel
Copy link
Contributor

overlookmotel commented Aug 25, 2024

I noticed while working on #49 that the tests seem not to be functioning correctly. Test failures do not result in cargo test failing.

It appears to be related to the #[should_panic] tests. If you comment out the last 2 #[should_panic] tests, then other tests which should fail do correctly show as failing. When the #[should_panic] tests are enabled, it appears from output in terminal that test execution stops early. Very weird!

Please see repro case #51.

@Boshen
Copy link
Owner

Boshen commented Aug 26, 2024

Weird rust issue 🤸‍♂️ fb254e4

@Boshen Boshen closed this as completed Aug 26, 2024
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

No branches or pull requests

2 participants