We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here is a small failing test case using spock:
import org.codehaus.plexus.util.cli.CommandLineUtils import spock.lang.Specification class CommandlineCommandTest extends Specification { def "test getCommand"() { given: def command = CommandLineUtils.translateCommandline('exec -s something -e "lala \"lo lo\" lulu" -f $file') when: def parts = command then: parts.each {println(it)} parts == ["exec", "-s", "something", "-e", "lala \"lo lo\" lulu", "-f", "the.file"] } }
it prints
exec -s something -e lala lo lo lulu -f $file
while we expect lala "lo lo" lulu to be one string
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here is a small failing test case using spock:
it prints
while we expect lala "lo lo" lulu to be one string
The text was updated successfully, but these errors were encountered: