1
0
Fork 0
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:
Cvelth 2020-04-24 12:34:10 +03:00 committed by GitHub
parent df1d9bd86a
commit 696f83de8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;