| 156 | |
| 157 | template <typename T> |
| 158 | static void TestFloatIncorrect(const char* format) |
| 159 | { |
| 160 | T v = 0.0; |
| 161 | ASSERT_DEBUG_DEATH(StringScan("3.14", format, &v), ""); |
| 162 | } |
| 163 | |
| 164 | TEST(ScanDeathTest, FloatInvalid) |
| 165 | { |
nothing calls this directly
no test coverage detected