summaryrefslogtreecommitdiffstats
path: root/tests/ByteBuffer/ByteBufferTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ByteBuffer/ByteBufferTest.cpp')
-rw-r--r--tests/ByteBuffer/ByteBufferTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ByteBuffer/ByteBufferTest.cpp b/tests/ByteBuffer/ByteBufferTest.cpp
index 7278c5f0f..9aecc2e3c 100644
--- a/tests/ByteBuffer/ByteBufferTest.cpp
+++ b/tests/ByteBuffer/ByteBufferTest.cpp
@@ -36,7 +36,7 @@ static void TestWrite(void)
buf.WriteVarInt32(5);
buf.WriteVarInt32(300);
buf.WriteVarInt32(0);
- AString All;
+ ContiguousByteBuffer All;
buf.ReadAll(All);
TEST_EQUAL(All.size(), 4);
TEST_EQUAL(memcmp(All.data(), "\x05\xac\x02\x00", All.size()), 0);