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

support opening and closing quotes in --tests #72

Closed
fommil opened this issue Apr 18, 2016 · 2 comments
Closed

support opening and closing quotes in --tests #72

fommil opened this issue Apr 18, 2016 · 2 comments

Comments

@fommil
Copy link

fommil commented Apr 18, 2016

Counter-inutitively, --tests="foo" does not work as expected, it must be --tests=foo (no ").

This always catches me out.

@szeiger
Copy link
Contributor

szeiger commented Apr 19, 2016

All argument parsing is done by sbt and the test framework gets an array of Strings, similar to how a command line application gets its arguments from the shell. If you want to quote, it has to be around the entire argument, but with --tests there should never be a reason to do that.

@fommil
Copy link
Author

fommil commented Apr 19, 2016

it's more that one is used to passing regexes around inside "..." so it's easy to forget that it's not needed.

@fommil fommil closed this as completed Sep 1, 2018
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