Change bassert to always call assert

This commit is contained in:
Vinnie Falco
2014-02-06 11:38:39 -08:00
parent 864b20565b
commit eb5691e8fa
8 changed files with 58 additions and 3 deletions

View File

@@ -393,7 +393,7 @@ void UnitTests::runTests (TestList const& tests, int64 randomSeed)
void UnitTests::onFailure ()
{
// A failure occurred and the setting to assert on failures is turned on.
bassert (! m_assertOnFailure)
bassert (! m_assertOnFailure);
}
bool UnitTests::shouldAbortTests()

View File

@@ -47,7 +47,7 @@ XmlElement::XmlElement (const String& tag) noexcept
: tagName (tag)
{
// the tag name mustn't be empty, or it'll look like a text element!
bassert (tag.containsNonWhitespaceChars())
bassert (tag.containsNonWhitespaceChars());
// The tag can't contain spaces or other characters that would create invalid XML!
bassert (! tag.containsAnyOf (" <>/&"));