change two UNEXPECTEDs in check-structures-sanity to FAILs instead

develop
Ben Lubar 2020-03-02 22:30:23 -06:00
parent 7784e569a5
commit e5c597f869
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
1 changed files with 4 additions and 2 deletions

@ -1076,7 +1076,8 @@ void Checker::check_stl_string(const ToCheck & item)
} }
else else
{ {
UNEXPECTED; FAIL("pointer does not appear to be a string");
//UNEXPECTED;
} }
} }
#endif #endif
@ -1410,7 +1411,8 @@ void Checker::check_struct(const ToCheck & item)
} }
else else
{ {
UNEXPECTED; FAIL("unknown allocation size; possibly bad");
//UNEXPECTED;
} }
} }