mapbox / protozero

Minimalist protocol buffer decoder and encoder in C++
BSD 2-Clause "Simplified" License
293 stars 78 forks source link

Update bundled Catch and fix resulting issues #74

Closed tomhughes closed 7 years ago

tomhughes commented 7 years ago

This updates Catch to v1.7.1 and fixed some issues resulting from https://github.com/philsquared/Catch/issues/823 by ensuring that we always pass an expression and not a block to the REQUIRE_THROWS and REQUIRE_THROWS_AS macros.

joto commented 7 years ago

Thanks. I'll wait for https://github.com/osmcode/libosmium/issues/196 to be resolved before merging your changes, otherwise protozero might have the same problems on Windows.