aboutsummaryrefslogtreecommitdiff
path: root/c/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/test.cpp')
-rw-r--r--c/test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/c/test.cpp b/c/test.cpp
index 2e96bbc..e56d7aa 100644
--- a/c/test.cpp
+++ b/c/test.cpp
@@ -3,6 +3,7 @@
#include "data.h"
#include "episodelistview.h"
+#include "ext.h"
#include "pl.h"
#include "util.h"
#include "win.h"
@@ -16,7 +17,7 @@ struct Test
Test(const char* name) : name(name) {}
};
-#define TESTS struct UNUSED
+#define TESTS struct _
#define TEST(id) }; struct id : public Test { id() : Test(#id)
#define FAIL(...) do { Sprintf(error, __VA_ARGS__); return; } while (0)