Skip to content

Commit 13361df

Browse files
committed
Adjust clang-format instruction in libs/hsm/tests/regular/test.c
1 parent 8eb56d4 commit 13361df

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libs/hsm/tests/regular/test.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,8 @@ static void test_regular(void) {
6767
int event;
6868
const char *out;
6969
};
70+
/* clang-format off */
7071
static const struct test2 in[] = {
71-
/* clang-format off */
72-
7372
{HSM_EVT_G, "s21-G;s211-EXIT;s21-EXIT;s2-EXIT;s1-ENTRY;s1-INIT;s11-ENTRY;s11-INIT;"},
7473
{HSM_EVT_I, "s1-I;"},
7574
{HSM_EVT_A, "s1-A;s11-EXIT;s1-EXIT;s1-ENTRY;s1-INIT;s11-ENTRY;s11-INIT;"},
@@ -95,9 +94,8 @@ static void test_regular(void) {
9594
{HSM_EVT_F, "s2-F;s211-EXIT;s21-EXIT;s2-EXIT;s1-ENTRY;s11-ENTRY;s11-INIT;"},
9695
{HSM_EVT_C, "s1-C;s11-EXIT;s1-EXIT;s2-ENTRY;s2-INIT;s21-ENTRY;s211-ENTRY;s211-INIT;"},
9796
{HSM_EVT_I, "s-I;"}
98-
99-
/* clang-format on */
10097
};
98+
/* clang-format on */
10199

102100
for (int i = 0; i < AM_COUNTOF(in); ++i) {
103101
struct am_event e = {.id = in[i].event};

0 commit comments

Comments
 (0)