]> git.ipfire.org Git - thirdparty/curl.git/commit
units: tidy up begin/end blocks
authorViktor Szakats <commit@vsz.me>
Thu, 21 May 2026 02:21:33 +0000 (04:21 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 21 May 2026 15:28:38 +0000 (17:28 +0200)
commitbb5500a7525a555cef092dd72f30645606b7ae4e
treea4b60511a000754dae6d9acb7e6da7584f311983
parenta076f821e1744a68e9c659ebe7092bf9bedbd0b9
units: tidy up begin/end blocks

- use `UNITTEST_BEGIN_SIMPLE`/`UNITTEST_END_SIMPLE` where missing.
- drop redundant `(void)arg;` where using `UNITTEST_BEGIN*`.
- unit1636: drop redundant block after `UNITTEST_BEGIN*`.
- unit1609: fix typo in comment.
- unit1627: merge to `if`s.

Closes #21715
tests/unit/unit1609.c
tests/unit/unit1625.c
tests/unit/unit1626.c
tests/unit/unit1627.c
tests/unit/unit1636.c
tests/unit/unit1675.c
tests/unit/unit3300.c
tests/unit/unit3301.c