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

Can't figure out how to get tests working #136

Closed
SUPERCILEX opened this issue Sep 30, 2022 · 2 comments
Closed

Can't figure out how to get tests working #136

SUPERCILEX opened this issue Sep 30, 2022 · 2 comments

Comments

@SUPERCILEX
Copy link
Contributor

SUPERCILEX commented Sep 30, 2022

I added the lib and this test:

#[test]
fn readme_test() {
    trycmd::TestCases::new().case("README.md");
}

Running the test gives Testing README.md ... ignored with no explanation of why. Here's the repo in question: https://github.com/SUPERCILEX/ftzz

@SUPERCILEX
Copy link
Contributor Author

Ah, apparently you need console in your ``` block. An example of a README test should be added to this repo to make that clearer.

@epage epage closed this as completed in ae3f8cd Sep 30, 2022
@epage
Copy link
Contributor

epage commented Sep 30, 2022

We have an example but somehow forgot to set the language on it. Done.

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