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

Incorrect instructions on running tests in tests1? #243

Closed
chrisbnt opened this issue Dec 3, 2019 · 1 comment
Closed

Incorrect instructions on running tests in tests1? #243

chrisbnt opened this issue Dec 3, 2019 · 1 comment

Comments

@chrisbnt
Copy link

chrisbnt commented Dec 3, 2019

In exercises/tests/tests1.rs, a comment instructs you to run:

rustlings run --test exercises/tests/tests1.rs

Which results in:

rustlings$ rustlings run --test exercises/tests/tests1.rs
error: Found argument '--test' which wasn't expected, or isn't valid in this context

USAGE:
    rustlings run <name>

For more information try --help

Versions:

rustlings$ rustlings --version
rustlings 2.1.0
rustlings$ rustc --version
rustc 1.39.0 (4560ea788 2019-11-04)
@chrisbnt chrisbnt changed the title Incorrect instructions on running tests in test1? Incorrect instructions on running tests in tests1? Dec 3, 2019
@jrvidal
Copy link
Contributor

jrvidal commented Dec 3, 2019

You're completely right, that flag does not exist. Also, the correct command is simply rustlings tests1 (instead of providing the path).

Care to send a PR? 🙂

pedantic79 pushed a commit to pedantic79/rustlings that referenced this issue Apr 11, 2020
MendelMonteiro pushed a commit to MendelMonteiro/rustlings that referenced this issue Jun 28, 2020
ppp3 pushed a commit to ppp3/rustlings that referenced this issue May 23, 2022
dmoore04 pushed a commit to dmoore04/rustlings that referenced this issue Sep 11, 2022
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