Commit 246a5982 authored by Jason R. Coombs's avatar Jason R. Coombs

Use the command spec as resolved by the best ScriptWriter.

parent 659e2bd0
...@@ -522,6 +522,7 @@ class TestCommandSpec: ...@@ -522,6 +522,7 @@ class TestCommandSpec:
""" """
CommandSpec.from_string(sys.executable) should contain just that param. CommandSpec.from_string(sys.executable) should contain just that param.
""" """
cmd = CommandSpec.from_string(sys.executable) writer = ScriptWriter.best()
cmd = writer.command_spec_class.from_string(sys.executable)
assert len(cmd) == 1 assert len(cmd) == 1
assert cmd[0] == sys.executable assert cmd[0] == sys.executable
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment