mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Change bassert to always call assert
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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 (" <>/&"));
|
||||
|
||||
Reference in New Issue
Block a user