@@ -42,20 +42,6 @@ synopsis: Test suite for the command-line-parser library.
42
42
43
43
// TODO(cgay): Suppress output to stderr from usage errors in tests.
44
44
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
-
59
45
60
46
// Create a parser for our standard test argument list, parse the given
61
47
// argument list, return the parser.
@@ -313,3 +299,17 @@ define test test-min-max-positional-options ()
313
299
assert-no-errors(parse-command-line(parser, #["a" , "b" ]), "xxx" );
314
300
assert-signals(<usage-error>, parse-command-line(parser, #["a" , "b" , "c" ]), "yyy" );
315
301
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