1
0

Require semi-colon at end of function-like macros (#4719)

This commit is contained in:
peterbell10
2020-05-05 21:39:59 +01:00
committed by GitHub
parent f4b5c4c341
commit 8e2dfce84b
4 changed files with 100 additions and 79 deletions

View File

@@ -186,7 +186,7 @@ static void testGenerateNether(cChunkGenerator & aDefaultNetherGen)
}
TEST_EQUAL_MSG(y, prevHeight, Printf("Failed: Same height across the entire chunk, at {%d, %d}: exp %d, got %d; top block: %d",
x, z, prevHeight, y, chd.GetBlockType(x, y, z)
))
));
auto blockType = chd.GetBlockType(x, y, z);
TEST_EQUAL_MSG(blockType, E_BLOCK_BEDROCK,
Printf("Bedrock ceiling at {%d, %d, %d}: %d", x, y, z, blockType)