Commit 2fe7332d authored by Maks Orlovich's avatar Maks Orlovich
Browse files

Fix testregression build with fastappend on.

parent a9b4a1fc
...@@ -1530,7 +1530,7 @@ void RegressionTest::testStaticFile(const QString & filename) ...@@ -1530,7 +1530,7 @@ void RegressionTest::testStaticFile(const QString & filename)
return; return;
} }
KJS::Completion comp2 = m_part->jScriptInterpreter()->evaluate(filename, 0, "setUpPage(); " + functionname + "();" ); KJS::Completion comp2 = m_part->jScriptInterpreter()->evaluate(filename, 0, QString("setUpPage(); " + functionname + "();") );
bool success = ( comp2.complType() == ReturnValue || comp2.complType() == Normal ); bool success = ( comp2.complType() == ReturnValue || comp2.complType() == Normal );
QString description = "DOMTS"; QString description = "DOMTS";
if ( comp2.complType() == Throw ) { if ( comp2.complType() == Throw ) {
......
...@@ -1151,7 +1151,7 @@ void TestRegressionWindow::updateLogOutput(const QString &data) ...@@ -1151,7 +1151,7 @@ void TestRegressionWindow::updateLogOutput(const QString &data)
if(!fileExists) if(!fileExists)
file.write(QString::fromLatin1("<html>\n<body>\n").toAscii()); file.write(QString::fromLatin1("<html>\n<body>\n").toAscii());
file.write((data + "\n").toAscii()); //krazy:exclude=duoblequote_chars DOM demands chars file.write(QString(data + "\n").toAscii()); //krazy:exclude=duoblequote_chars DOM demands chars
file.close(); file.close();
// Reset save log url, if we reached the end... // Reset save log url, if we reached the end...
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment