diff options
| author | Per Larsson <[email protected]> | 2021-09-20 10:28:38 +0200 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2021-09-20 10:28:38 +0200 |
| commit | d7e8b3f1435ba50f50393692763508f3224aa9b1 (patch) | |
| tree | ee4357d70cdb9ea1fbcc3836d859cf39fe8e2f42 /zencore/stream.cpp | |
| parent | Added support for skipping package attachments. (diff) | |
| parent | trivial: include cleanup (diff) | |
| download | zen-d7e8b3f1435ba50f50393692763508f3224aa9b1.tar.xz zen-d7e8b3f1435ba50f50393692763508f3224aa9b1.zip | |
Merge branch 'main' of https://github.com/EpicGames/zen
Diffstat (limited to 'zencore/stream.cpp')
| -rw-r--r-- | zencore/stream.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/zencore/stream.cpp b/zencore/stream.cpp index 8687d5501..ead0b014b 100644 --- a/zencore/stream.cpp +++ b/zencore/stream.cpp @@ -1,9 +1,10 @@ // Copyright Epic Games, Inc. All Rights Reserved. -#include <doctest/doctest.h> #include <stdarg.h> #include <zencore/memory.h> #include <zencore/stream.h> +#include <zencore/testing.h> + #include <algorithm> #include <stdexcept> @@ -279,6 +280,8 @@ IndentTextWriter::Write(const void* data, size_t byteCount) // Testing related code follows... // +#if ZEN_WITH_TESTS + void stream_forcelink() { @@ -336,4 +339,6 @@ TEST_CASE("BinaryWriter and BinaryWriter") CHECK(i64 == 42); } +#endif + } // namespace zen |