summaryrefslogtreecommitdiff
path: root/sax/tst/test_buffer.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2024-01-21 14:32:27 +0100
committerJoel Klinghed <the_jk@spawned.biz>2024-01-21 14:32:27 +0100
commit507a3936aa2f7a32f7f45c13734ffbe0ed4a2078 (patch)
tree40b83de62173e3112a0a6fe35ba66a517cef4894 /sax/tst/test_buffer.cc
parent7dd49c6293172b494c78918507242cdb55d35137 (diff)
Diffstat (limited to 'sax/tst/test_buffer.cc')
-rw-r--r--sax/tst/test_buffer.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sax/tst/test_buffer.cc b/sax/tst/test_buffer.cc
index 13bc6d4..3a40792 100644
--- a/sax/tst/test_buffer.cc
+++ b/sax/tst/test_buffer.cc
@@ -140,6 +140,8 @@ TEST_P(BufferTest, skip_wrap) {
EXPECT_EQ(5u, buf->write(AAAAAAAAAA));
+ auto data = buf->rspan(10);
+ EXPECT_EQ(10u, data.size());
buf->consume(10);
EXPECT_TRUE(buf->empty());
}