tests: better test initializing allowing for better printing (#5379)

Co-authored-by: Nerixyz <nerixdev@outlook.de>
This commit is contained in:
pajlada
2024-05-05 15:01:07 +02:00
committed by GitHub
parent a88a2ac65c
commit 401feac0aa
41 changed files with 198 additions and 178 deletions
+3 -6
View File
@@ -10,9 +10,8 @@
#include "providers/twitch/TwitchBadge.hpp" // for Badge
#include "singletons/Paths.hpp"
#include "singletons/Settings.hpp"
#include "Test.hpp"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <QDebug>
#include <QDir>
#include <QFile>
@@ -216,11 +215,9 @@ protected:
input.originalMessage, input.flags);
EXPECT_EQ(isMatch, expected.state)
<< qUtf8Printable(input.senderName) << ": "
<< qUtf8Printable(input.originalMessage);
<< input.senderName << ": " << input.originalMessage;
EXPECT_EQ(matchResult, expected.result)
<< qUtf8Printable(input.senderName) << ": "
<< qUtf8Printable(input.originalMessage);
<< input.senderName << ": " << input.originalMessage;
}
}