LightOptionParser: updated tests to match new behavior.

This commit is contained in:
Jonathan Bernard 2015-12-31 23:18:57 -06:00
parent 7fb35060c2
commit 51a0cdbc08

View File

@ -58,8 +58,8 @@ public class LightOptionParserTests extends GroovyTestCase {
assert opts.c == ["cfgFile"]
assert opts['config-file'] == ["cfgFile"]
assert opts.args == ["arg1", "arg2"]
assert opts.i == ["in1", "in2", "in3", "in4"]
assert opts["input-file"] == ["in1", "in2", "in3", "in4"]
assert opts.o == ["out1", "out2"]
assert opts["output-file2"] == ["out1", "out2"] }
assert opts.i == [["in1", "in2", "in3"], ["in4"]]
assert opts["input-file"] == [["in1", "in2", "in3"], ["in4"]]
assert opts.o == [["out1", "out2"]]
assert opts["output-file2"] == [["out1", "out2"]] }
}