summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-02 13:45:50 -0400
committerDavid Robillard <d@drobilla.net>2023-05-02 13:45:50 -0400
commitc69530dfbdea2b067f45be216f3039aa4d180d07 (patch)
tree5e4d5007faba7c8fc9de3f30e9db916d6ce9ab8c /test
parent1e5784f4828086878f4eb98f08c99ccb796ca466 (diff)
downloadraul-c69530dfbdea2b067f45be216f3039aa4d180d07.tar.gz
raul-c69530dfbdea2b067f45be216f3039aa4d180d07.tar.bz2
raul-c69530dfbdea2b067f45be216f3039aa4d180d07.zip
Fix code formatting
Diffstat (limited to 'test')
-rw-r--r--test/ringbuffer_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ringbuffer_test.cpp b/test/ringbuffer_test.cpp
index e5d31e3..67b740f 100644
--- a/test/ringbuffer_test.cpp
+++ b/test/ringbuffer_test.cpp
@@ -49,9 +49,9 @@ reader(Context& ctx)
{
printf("Reader starting\n");
- int ref_msg[MSG_SIZE]; // Reference generated for comparison
- int read_msg[MSG_SIZE]; // Read from ring
- int start = gen_msg(ref_msg, 0);
+ int ref_msg[MSG_SIZE]; // Reference generated for comparison
+ int read_msg[MSG_SIZE]; // Read from ring
+ int start = gen_msg(ref_msg, 0);
for (size_t i = 0; i < ctx.n_writes; ++i) {
if (ctx.ring->read_space() >= MSG_SIZE * sizeof(int)) {
const uint32_t n_read = ctx.ring->read(MSG_SIZE * sizeof(int), read_msg);