aboutsummaryrefslogtreecommitdiff
path: root/c/test.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-22 22:22:29 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-22 22:22:29 +0200
commit5d0979480ff50390b3883795ec2093e0d3d6193b (patch)
tree34a5fc5d18cb2d9cc87c01e6eb2eb40e0f3d5050 /c/test.cpp
parent8566655b85f0a4e515d57f6686636db516116f95 (diff)
downloadEpisodeBrowser-5d0979480ff50390b3883795ec2093e0d3d6193b.tar.gz
Open episodes without Prolog.
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)