eranpeer / FakeIt

C++ mocking made easy. A simple yet very expressive, headers only library for c++ mocking.
MIT License
1.24k stars 170 forks source link

Tolerate invocations with nullptr char* #138

Closed OskiKervinen-MF closed 6 years ago

OskiKervinen-MF commented 6 years ago

Fixes #137

Added a custom formatter for char*, because the is_ostreamable formatter crashes if the value is nullptr.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+7.0e-05%) to 99.974% when pulling 842e163eb4ed05a87f42e3c66c40655bc51065b4 on OskiKervinen-MF:topic/null-c-string into 33022feda7d2d19a7c15ba786e0a8ff5df075a54 on eranpeer:master.

eranpeer commented 6 years ago

Thanks! FakeIt is a little better now.