diff options
author | David Faure <faure@kde.org> | 2015-08-05 01:25:20 +0200 |
---|---|---|
committer | David Faure <faure@kde.org> | 2015-08-05 01:25:20 +0200 |
commit | e537a69c5f8c86a5c291764fd89b7a0ffe233606 (patch) | |
tree | d3feddf4503e6b67aa3d285e2a55c5d862dd565a /autotests/test_kconf_update.cpp | |
parent | 8ebf4735e4ba35b1d3e2102f35e1b3b7f5a684a9 (diff) | |
download | kconfig-e537a69c5f8c86a5c291764fd89b7a0ffe233606.tar.gz kconfig-e537a69c5f8c86a5c291764fd89b7a0ffe233606.tar.bz2 |
print path on failure
Diffstat (limited to 'autotests/test_kconf_update.cpp')
-rw-r--r-- | autotests/test_kconf_update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/test_kconf_update.cpp b/autotests/test_kconf_update.cpp index baa4dc56..dc03f9ff 100644 --- a/autotests/test_kconf_update.cpp +++ b/autotests/test_kconf_update.cpp @@ -44,7 +44,7 @@ static void writeFile(const QString &path, const QString &content) QFile file(path); bool ok = file.open(QIODevice::WriteOnly); Q_UNUSED(ok) // silence warnings - Q_ASSERT(ok); + QVERIFY2(ok, qPrintable(path)); file.write(content.toUtf8()); } |