test: change // comments to /* */

We use // comments only for "FIXME" style comments, and explanatory
comments get /* */, as per coding style.
This commit is contained in:
Lennart Poettering
2022-03-14 11:53:02 +01:00
parent 43c893e73e
commit 14a8002ae5

View File

@@ -340,7 +340,7 @@ TEST(flags) {
assert_se(!FLAGS_SET(F1 | F2, F1 | F3));
assert_se(!FLAGS_SET(F1 | F2 | F3, ~F_ALL));
// Check for no double eval.
/* Check for no double eval. */
n = F2;
f = F1;
assert_se(!FLAGS_SET(--n, ++f));
@@ -379,7 +379,7 @@ TEST(flags) {
assert_se(UPDATE_FLAG(F1, F_ALL, false) == 0);
assert_se(UPDATE_FLAG(F_ALL, F_ALL, false) == 0);
// Check for no double eval.
/* Check for no double eval. */
n = F2;
f = F1;
assert_se(UPDATE_FLAG(--n, ++f, true) == (F1 | F2));