Skip to content

Commit b6b1d99

Browse files
[tests] Update for bottom-up suite definitions.
1 parent 2282b69 commit b6b1d99

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tests/command-line-parser-test-suite.dylan

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,6 @@ synopsis: Test suite for the command-line-parser library.
4242

4343
// TODO(cgay): Suppress output to stderr from usage errors in tests.
4444

45-
define suite command-line-parser-test-suite
46-
(/* setup-function: foo, cleanup-function: bar */)
47-
test test-command-line-parser;
48-
test test-synopsis-format;
49-
test test-help-substitutions;
50-
test test-usage;
51-
test test-duplicate-name-error;
52-
test test-option-type;
53-
test test-option-default;
54-
test test-choice-option;
55-
test test-defcmdline;
56-
test test-min-max-positional-options;
57-
end suite;
58-
5945

6046
// Create a parser for our standard test argument list, parse the given
6147
// argument list, return the parser.
@@ -313,3 +299,17 @@ define test test-min-max-positional-options ()
313299
assert-no-errors(parse-command-line(parser, #["a", "b"]), "xxx");
314300
assert-signals(<usage-error>, parse-command-line(parser, #["a", "b", "c"]), "yyy");
315301
end test test-min-max-positional-options;
302+
303+
define suite command-line-parser-test-suite
304+
(/* setup-function: foo, cleanup-function: bar */)
305+
test test-command-line-parser;
306+
test test-synopsis-format;
307+
test test-help-substitutions;
308+
test test-usage;
309+
test test-duplicate-name-error;
310+
test test-option-type;
311+
test test-option-default;
312+
test test-choice-option;
313+
test test-defcmdline;
314+
test test-min-max-positional-options;
315+
end suite;

0 commit comments

Comments
 (0)