mirror of
https://github.com/curl/curl.git
synced 2026-07-30 09:48:03 +03:00
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
This commit is contained in:
parent
a076f821e1
commit
bb5500a752
8 changed files with 56 additions and 61 deletions
|
|
@ -97,7 +97,7 @@ static CURLcode test_unit1609(const char *arg)
|
|||
struct curl_slist *list = NULL;
|
||||
|
||||
/* important: we setup cache outside of the loop
|
||||
and also clean cache after the loop. In contrast,for example,
|
||||
and also clean cache after the loop. In contrast, for example,
|
||||
test 1607 sets up and cleans cache on each iteration. */
|
||||
|
||||
for(i = 0; i < CURL_ARRAYSIZE(tests); ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue