Skip to content

Commit 738fc84

Browse files
committed
Add basic test-repeated-parameter-option
1 parent 9de50be commit 738fc84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/options-test.dylan

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ define test test-keyed-option ()
102102
end test;
103103

104104
define test test-repeated-parameter-option ()
105+
let command = parse-one(make(<repeated-parameter-option>, name: "r", help: "help"),
106+
#["-r", "a"]);
107+
assert-equal(as(<deque>, #["a"]), get-option-value(command, "r"));
105108
end;
106109

107110
define test test-optional-parameter-option ()

0 commit comments

Comments
 (0)