projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8530dc5
)
style: Fix clang-format violation in tests/test-bsdiff.c
author
Joseph Marrero Corchado
<jmarrero@redhat.com>
Wed, 5 Aug 2026 04:06:48 +0000
(
00:06
-0400)
committer
Joseph Marrero Corchado
<jmarrero@redhat.com>
Wed, 5 Aug 2026 04:38:56 +0000
(
00:38
-0400)
Collapse short array initializer to a single line to satisfy
clang-format.
tests/test-bsdiff.c
patch
|
blob
|
history
diff --git
a/tests/test-bsdiff.c
b/tests/test-bsdiff.c
index 8d242d86b7c25079d84810d36443635518151465..88c40e8cbde1ab2a6ff097258c745ecc979a3295 100644
(file)
--- a/
tests/test-bsdiff.c
+++ b/
tests/test-bsdiff.c
@@
-137,12
+137,7
@@
test_bspatch_content_size_guard (void)
}
/* Values that must be accepted by the guard */
- const guint64 accept_values[] = {
- 0,
- 1,
- 4096,
- (guint64)1024 * 1024 * 1024, /* 1 GiB */
- };
+ const guint64 accept_values[] = { 0, 1, 4096, (guint64)1024 * 1024 * 1024 /* 1 GiB */ };
for (gsize i = 0; i < G_N_ELEMENTS (accept_values); i++)
{