Skip to content

Commit

Permalink
t Add test to confirm existence of #157
Browse files Browse the repository at this point in the history
  • Loading branch information
claremacrae committed Oct 19, 2020
1 parent 6fad728 commit eb96309
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/UT_Tests/UTApprovalTestTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,12 @@ int main()
[](auto value, auto& os) { os << "**value:** " << value; },
Options().fileOptions().withFileExtension(".md"));
};

"VerifyAFileWithAmpersand&"_test = [&]() {
auto namer = Approvals::getDefaultNamer();
expect(throws([&] { auto name = namer->getReceivedFile(".txt"); }))
<< "documenting bug #157, if you see this, the bug has been fixed upstream "
"and can be closed, and this test should be updated";
};

}

0 comments on commit eb96309

Please sign in to comment.