void-packages/srcpkgs/kadu/patches/qt5-qcompare.patch
2020-06-04 19:47:30 +02:00

11 lines
516 B
Diff

--- kadu-core/plugin/state/plugin-state.test.cpp 2017-01-24 22:36:21.000000000 +0100
+++ kadu-core/plugin/state/plugin-state.test.cpp 2020-06-04 19:24:50.219823920 +0200
@@ -34,7 +34,7 @@
void PluginStateTest::newTest()
{
- QCOMPARE(pluginStateToString(PluginState::New), {});
+ QCOMPARE(pluginStateToString(PluginState::New), nullptr);
QCOMPARE(stringToPluginState(""), PluginState::New);
QCOMPARE(stringToPluginState("New"), PluginState::New);
QCOMPARE(stringToPluginState("Invalid"), PluginState::New);