Skip to content

Commit 60d1e15

Browse files
committed
liboptparse/test: fix formatting in optparse tests
Problem: A couple lines unnecessarily overflow 80 columns in the optparse unit test. Fix the long lines.
1 parent 93b0c5d commit 60d1e15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/common/liboptparse/test/optparse.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,11 +384,13 @@ void test_convenience_accessors (void)
384384
rc = optparse_add_option_table (p, opts);
385385
ok (rc == OPTPARSE_SUCCESS, "register options");
386386

387-
ok (optparse_option_index (p) == -1, "optparse_option_index returns -1 before parse");
387+
ok (optparse_option_index (p) == -1,
388+
"optparse_option_index returns -1 before parse");
388389
optindex = optparse_parse_args (p, ac, av);
389390
ok (optindex == ac, "parse options, verify optindex");
390391

391-
ok (optparse_option_index (p) == optindex, "optparse_option_index works after parse");
392+
ok (optparse_option_index (p) == optindex,
393+
"optparse_option_index works after parse");
392394

393395
/* hasopt
394396
*/

0 commit comments

Comments
 (0)