mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
Use provided by doctest macro instead of explicit include (#1)
This commit is contained in:
parent
df1d9bd86a
commit
696f83de8e
1 changed files with 4 additions and 5 deletions
|
@ -1,11 +1,10 @@
|
|||
#if defined(_WIN32) || defined(WIN32)
|
||||
# define DOCTEST_CONFIG_USE_STD_HEADERS
|
||||
#endif
|
||||
|
||||
#include <doctest/doctest.h>
|
||||
#include <greeter.h>
|
||||
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
// apparently this is required to compile in MSVC++
|
||||
# include <ostream>
|
||||
#endif
|
||||
|
||||
TEST_CASE("Greeter") {
|
||||
using namespace greeter;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue