summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/typing
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-03-06 21:35:09 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-03-10 21:12:46 +0100
commit5d809df6ede402920543fd7041707df6439c7955 (patch)
tree0750d70f52351b5a1264470d1e5627eb4e080968 /tests/unit/plugins/typing
parent74ba21a8c4b49c03f1b023886bd33d0e8c8b55e5 (diff)
downloadweechat-5d809df6ede402920543fd7041707df6439c7955.zip
tests: move include of tests/tests.h outside of extern "C"
Diffstat (limited to 'tests/unit/plugins/typing')
-rw-r--r--tests/unit/plugins/typing/test-typing-status.cpp5
-rw-r--r--tests/unit/plugins/typing/test-typing.cpp5
2 files changed, 4 insertions, 6 deletions
diff --git a/tests/unit/plugins/typing/test-typing-status.cpp b/tests/unit/plugins/typing/test-typing-status.cpp
index 5b08d72b3..ea3911f8a 100644
--- a/tests/unit/plugins/typing/test-typing-status.cpp
+++ b/tests/unit/plugins/typing/test-typing-status.cpp
@@ -21,6 +21,8 @@
#include "CppUTest/TestHarness.h"
+#include "tests/tests.h"
+
extern "C"
{
#include "src/core/wee-hashtable.h"
@@ -28,9 +30,6 @@ extern "C"
#include "src/plugins/typing/typing-status.h"
}
-#include "tests/tests.h"
-
-
TEST_GROUP(TypingStatus)
{
};
diff --git a/tests/unit/plugins/typing/test-typing.cpp b/tests/unit/plugins/typing/test-typing.cpp
index 33d99cd69..805729858 100644
--- a/tests/unit/plugins/typing/test-typing.cpp
+++ b/tests/unit/plugins/typing/test-typing.cpp
@@ -21,14 +21,13 @@
#include "CppUTest/TestHarness.h"
+#include "tests/tests.h"
+
extern "C"
{
#include "src/plugins/typing/typing.h"
}
-#include "tests/tests.h"
-
-
TEST_GROUP(Typing)
{
};