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

[Feature Request] [stdlib] Add assert_aborts() #3105

Open
1 task done
martinvuyk opened this issue Jun 22, 2024 · 0 comments
Open
1 task done

[Feature Request] [stdlib] Add assert_aborts() #3105

martinvuyk opened this issue Jun 22, 2024 · 0 comments
Labels
enhancement New feature or request mojo-repo Tag all issues with this label

Comments

@martinvuyk
Copy link
Contributor

Review Mojo's priorities

What is your request?

As title.

What is your motivation for this change?

A way to test if a program aborts to avoid unsafe and undefined behavior

Any other details?

It could be done by having it require a closure to be passed in and somehow spin up an isolated process

@martinvuyk martinvuyk added enhancement New feature or request mojo-repo Tag all issues with this label labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

1 participant