MCPcopy Create free account
hub / github.com/boostorg/filesystem / check

Function check

test/path_test.cpp:251–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249std::string platform(BOOST_PLATFORM);
250
251void check(const fs::path& source, const std::string& expected, const char* file, int line)
252{
253 if (source.string() == expected)
254 return;
255
256 std::cout << file
257 << '(' << line << "): source: \"" << source.string()
258 << "\" != expected: \"" << expected
259 << "\"" << std::endl;
260
261 ++::boost::detail::test_errors();
262}
263
264path p1("fe/fi/fo/fum");
265path p2(p1);

Callers

nothing calls this directly

Calls 1

stringMethod · 0.80

Tested by

no test coverage detected