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] add macro to replace ext().execute_with() boilerplate in runtime module tests #44

Open
bddap opened this issue May 12, 2020 · 0 comments

Comments

@bddap
Copy link
Contributor

bddap commented May 12, 2020

Curent:

fn test_da_thing() {
    ext().execute_with(|| {
        assert!(DA_THING);
    });
}

Desired:

#[needs_ext]
fn test_da_thing() {
    assert!(DA_THING);
}
@bddap bddap mentioned this issue May 12, 2020
Merged
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

1 participant