mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
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:
parent
43c893e73e
commit
14a8002ae5
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user