Remove unused type from tests

This commit is contained in:
Martin Hořeňovský 2019-01-27 00:03:11 +01:00
parent 50fefd059a
commit 61f4c7ab85
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 0 additions and 4 deletions

View File

@ -65,10 +65,6 @@ TEST_CASE( "variant<variant<float, int>, string>", "[toString][variant][approval
CHECK( "0" == ::Catch::Detail::stringify(type{0}) );
CHECK( "\"foo\"" == ::Catch::Detail::stringify(type{"foo"}) );
struct sample {
operator int() const { throw 42; }
};
SECTION("valueless nested variant") {
type value = inner{0.5f};
REQUIRE( std::holds_alternative<inner>(value) );