From 51a0cdbc0827dda91dc603d363e77dde2c1fd650 Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Thu, 31 Dec 2015 23:18:57 -0600 Subject: [PATCH] LightOptionParser: updated tests to match new behavior. --- .../com/jdbernard/util/LightOptionParserTests.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/groovy/com/jdbernard/util/LightOptionParserTests.groovy b/src/test/groovy/com/jdbernard/util/LightOptionParserTests.groovy index 763fdd3..3aeef00 100644 --- a/src/test/groovy/com/jdbernard/util/LightOptionParserTests.groovy +++ b/src/test/groovy/com/jdbernard/util/LightOptionParserTests.groovy @@ -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"]] } }