Don't call the test method assert

Mac OS X apparently uses a macro for assert(), completely
breaking compilation of this file

Change-Id: I51379da6e0c702e4d021dcd9a84af39889d24c2d
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
Lars Knoll 2015-08-07 17:25:45 +02:00 committed by Simon Hausmann
parent 6503b4924f
commit 9100b85cc5
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ private slots:
void logging(); void logging();
void tracing(); void tracing();
void profiling(); void profiling();
void assert(); void testAssert();
void exception(); void exception();
private: private:
@ -122,7 +122,7 @@ void tst_qqmlconsole::profiling()
delete object; delete object;
} }
void tst_qqmlconsole::assert() void tst_qqmlconsole::testAssert()
{ {
QUrl testUrl = testFileUrl("assert.qml"); QUrl testUrl = testFileUrl("assert.qml");