LightOptionParser: updated tests to match new behavior.
This commit is contained in:
parent
7fb35060c2
commit
51a0cdbc08
@ -58,8 +58,8 @@ public class LightOptionParserTests extends GroovyTestCase {
|
|||||||
assert opts.c == ["cfgFile"]
|
assert opts.c == ["cfgFile"]
|
||||||
assert opts['config-file'] == ["cfgFile"]
|
assert opts['config-file'] == ["cfgFile"]
|
||||||
assert opts.args == ["arg1", "arg2"]
|
assert opts.args == ["arg1", "arg2"]
|
||||||
assert opts.i == ["in1", "in2", "in3", "in4"]
|
assert opts.i == [["in1", "in2", "in3"], ["in4"]]
|
||||||
assert opts["input-file"] == ["in1", "in2", "in3", "in4"]
|
assert opts["input-file"] == [["in1", "in2", "in3"], ["in4"]]
|
||||||
assert opts.o == ["out1", "out2"]
|
assert opts.o == [["out1", "out2"]]
|
||||||
assert opts["output-file2"] == ["out1", "out2"] }
|
assert opts["output-file2"] == [["out1", "out2"]] }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user