Include testdate.h before catch.hpp in unit tests

This ensures that dates are printed out correctly if comparing them
fails.

It might be better to avoid always including this header, but this is
the simplest solution.
This commit is contained in:
Vadim Zeitlin
2017-11-30 21:52:46 +01:00
parent 0e65d91a38
commit 179dced0e0
3 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,10 @@
#include "wx/wxprec.h"
#include "wx/stopwatch.h"
#include "wx/evtloop.h"
// This needs to be included before catch.hpp to be taken into account.
#include "testdate.h"
#include "wx/catch_cppunit.h"
// Custom test macro that is only defined when wxUIActionSimulator is available