mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix XDG tests on Windows (#4779)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
381d5c4276
commit
ea30c3a619
|
@ -3,6 +3,8 @@
|
|||
#include <gtest/gtest.h>
|
||||
#include <QDebug>
|
||||
|
||||
#if defined(Q_OS_UNIX) and !defined(Q_OS_DARWIN)
|
||||
|
||||
using namespace chatterino;
|
||||
|
||||
TEST(XDGDesktopFile, String)
|
||||
|
@ -17,3 +19,5 @@ TEST(XDGDesktopFile, String)
|
|||
|
||||
ASSERT_EQ(desktopFile.getEntries("test").size(), 2);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
#include <gtest/gtest.h>
|
||||
#include <QDebug>
|
||||
|
||||
#if defined(Q_OS_UNIX) and !defined(Q_OS_DARWIN)
|
||||
|
||||
using namespace chatterino;
|
||||
|
||||
TEST(XDGHelper, ParseDesktopExecProgram)
|
||||
|
@ -60,3 +62,5 @@ TEST(XDGHelper, ParseDesktopExecProgram)
|
|||
<< output.toStdString() << "'";
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue