mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Remove unused type from tests
This commit is contained in:
parent
50fefd059a
commit
61f4c7ab85
@ -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) );
|
||||
|
Loading…
Reference in New Issue
Block a user