NBT: change "[]" to "Array" in unit test messages.

BodgeMaster-unfinished
Shwoomple 2022-07-06 16:28:08 +05:30
parent b0ccc74409
commit 8d8c1e6b90
1 changed files with 2 additions and 2 deletions

View File

@ -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};