Skip to content

Commit

Permalink
fix tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
madronalabs committed Jul 26, 2024
1 parent abf382e commit 462d537
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#ifdef _WINDOWS

#define CATCH_CONFIG_RUNNER
#include "testUtils.h"
#include "catch.hpp"

// Windows hack to pause console output so we can read it.
#include <conio.h>
Expand All @@ -20,8 +22,9 @@ int main(int argc, char** argv)
#else

#define CATCH_CONFIG_MAIN
#include "testUtils.h"
#include "catch.hpp"

#endif

#include "testUtils.h"
#include "catch.hpp"

0 comments on commit 462d537

Please sign in to comment.