Skip to content

Commit

Permalink
Removed an invalid test case. string is not guaranteed to be empty …
Browse files Browse the repository at this point in the history
…after move.
  • Loading branch information
mpark committed Jan 7, 2019
1 parent bec6487 commit 2d6219b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/ctor.move.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ TEST(Ctor_Move, Value) {
// `w`
mpark::variant<int, std::string> w(lib::move(v));
EXPECT_EQ("hello", mpark::get<std::string>(w));
// Check `v`
EXPECT_TRUE(mpark::get<std::string>(v).empty());

/* constexpr */ {
// `cv`
Expand Down

0 comments on commit 2d6219b

Please sign in to comment.