summaryrefslogtreecommitdiff
path: root/test/io/read_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/io/read_test.cpp')
-rw-r--r--test/io/read_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/io/read_test.cpp b/test/io/read_test.cpp
index 9e70387f2e..78a6ea345f 100644
--- a/test/io/read_test.cpp
+++ b/test/io/read_test.cpp
@@ -122,7 +122,7 @@ void test_read_bigtest()
//From bigtest.nbt: "the first 1000 values of (n*n*255+n*7)%100, starting with n=0 (0, 62, 34, 16, 8, ...)"
tag_byte_array byteArrayTest;
for(int n = 0; n < 1000; ++n)
- byteArrayTest.get().push_back((n*n*255 + n*7) % 100);
+ byteArrayTest.push_back((n*n*255 + n*7) % 100);
ASSERT(comp.at("byteArrayTest") == byteArrayTest);
ASSERT(comp.at("stringTest") == tag_string("HELLO WORLD THIS IS A TEST STRING \u00C5\u00C4\u00D6!"));