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
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
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]") {