Skip to content

Commit e486a66

Browse files
tests: conding style fix
Signed-off-by: Mirko Lazarevic <[email protected]>
1 parent 01f3911 commit e486a66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/internal/multiline.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,8 @@ static int flush_callback_metadata_check(struct flb_ml_parser *parser,
17371737
/* Track metadata */
17381738
if (has_stream && has_file) {
17391739
res->records_with_full_metadata++;
1740-
} else {
1740+
}
1741+
else {
17411742
res->records_missing_metadata++;
17421743
fprintf(stdout, " WARNING: Record %d missing metadata (stream=%d, file=%d)\n",
17431744
res->current_record, has_stream, has_file);
@@ -2056,7 +2057,8 @@ static void test_issue_truncation_10576()
20562057
if (strcmp(res.record_streams[1], "stderr") == 0 &&
20572058
strcmp(res.record_files[1], "/var/log/app2.log") == 0) {
20582059
fprintf(stdout, "\nPASS: Second record has its own metadata!\n");
2059-
} else {
2060+
}
2061+
else {
20602062
fprintf(stdout, "\nFAIL: Second record inherited metadata from first group!\n");
20612063
}
20622064

0 commit comments

Comments
 (0)