From 92dd084fdd7f44d7aba88424134d97e3eceb3b0f Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Wed, 5 Aug 2015 13:50:30 +0200 Subject: Implement stream_reader::read_payload --- test/io/read_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/io/read_test.cpp') 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!")); -- cgit 0.0.5-2-1-g0f52