NBT: change "[]" to "Array" in unit test messages.
parent
b0ccc74409
commit
8d8c1e6b90
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue