Fix warnings in ExtraTests and Examples

This commit is contained in:
Martin Hořeňovský
2020-02-25 12:39:40 +01:00
parent 33b47f7309
commit d1ffaf55a1
8 changed files with 27 additions and 12 deletions

View File

@@ -8,6 +8,8 @@
#include <string>
#include <sstream>
namespace {
// Returns a line from a stream. You could have it e.g. read lines from
// a file, but to avoid problems with paths in examples, we will use
// a fixed stringstream.
@@ -42,6 +44,7 @@ Catch::Generators::GeneratorWrapper<std::string> lines(std::string /* ignored fo
);
}
} // end anonymous namespace
TEST_CASE("filter can convert types inside the generator expression", "[example][generator]") {