From 8d8c1e6b9075797439aca3b53839b328f6d2a859 Mon Sep 17 00:00:00 2001 From: Shwoomple <> Date: Wed, 6 Jul 2022 16:28:08 +0530 Subject: [PATCH] NBT: change "[]" to "Array" in unit test messages. --- src/test/nbt_helpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/nbt_helpers.cpp b/src/test/nbt_helpers.cpp index 7d442f7..6ff7f19 100644 --- a/src/test/nbt_helpers.cpp +++ b/src/test/nbt_helpers.cpp @@ -244,7 +244,7 @@ int main(){ ASSERT(NBT::helper::readInt32Array(dataForIntArrayTest, dataSize, currentPosition).isError == true); ASSERT(NBT::helper::readInt32Array(dataForIntArrayTest, dataSize, currentPosition).errorCode == ErrorCodes::RANGE_ERROR); - std::cout << "Passed int32[] NBT helper test" << std::endl; + std::cout << "Passed int32Array NBT helper test" << std::endl; // int64 "array" ################################################### // read successfully @@ -268,7 +268,7 @@ int main(){ ASSERT(NBT::helper::readInt64Array(dataForIntArrayTest, dataSize, currentPosition).isError == true); ASSERT(NBT::helper::readInt64Array(dataForIntArrayTest, dataSize, currentPosition).errorCode == ErrorCodes::RANGE_ERROR); - std::cout << "Passed int64[] NBT helper test" << std::endl; + std::cout << "Passed int64Array NBT helper test" << std::endl; // float32 ["float" in the current implementation :( ] ############# uint8_t dataForFloat32Test[] = {0xC7, 0x77, 0x77, 0x77};