mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
tests: move include of tests/tests.h outside of extern "C"
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "CppUTest/TestHarness.h"
|
||||
|
||||
#include "tests/tests.h"
|
||||
|
||||
extern "C"
|
||||
{
|
||||
#include <stdio.h>
|
||||
@@ -30,8 +32,6 @@ extern "C"
|
||||
#include "src/plugins/trigger/trigger.h"
|
||||
}
|
||||
|
||||
#include "tests/tests.h"
|
||||
|
||||
#define WEE_CHECK_REGEX_SPLIT(__rc, __ret_regex_count, __str_regex) \
|
||||
trigger_regex_free (®ex_count, ®ex); \
|
||||
LONGS_EQUAL(__rc, trigger_regex_split (__str_regex, \
|
||||
|
||||
Reference in New Issue
Block a user