summaryrefslogtreecommitdiffstats
path: root/tests/ringbuffer_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ringbuffer_test.cpp')
-rw-r--r--tests/ringbuffer_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ringbuffer_test.cpp b/tests/ringbuffer_test.cpp
index 162d984..87b81c6 100644
--- a/tests/ringbuffer_test.cpp
+++ b/tests/ringbuffer_test.cpp
@@ -23,7 +23,7 @@ int
main()
{
RingBuffer<char> rb(5);
-
+
char ev[] = { 'a', 'b', 'c' };
rb.write(3, ev);
@@ -34,7 +34,7 @@ main()
char ev2[] = { 'd', 'e', 'f' };
rb.write(3, ev2);
-
+
size_t read = rb.read(3, buf);
if (read < 3)