MCPcopy Create free account
hub / github.com/approvals/ApprovalTests.cpp / StringWriter

Method StringWriter

ApprovalTests/writers/StringWriter.cpp:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace ApprovalTests
7{
8 StringWriter::StringWriter(std::string contents, std::string fileExtensionWithDot)
9 : s(std::move(contents)), ext(std::move(fileExtensionWithDot))
10 {
11 }
12
13 std::string StringWriter::getFileExtensionWithDot() const
14 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected