Skip to content

Commit

Permalink
add index check to test
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 committed Sep 8, 2021
1 parent e7191db commit a1e2ef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Visual_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ void VisualTest::UserData(const std::string &_renderEngine)
EXPECT_FALSE(std::holds_alternative<std::string>(value));
EXPECT_FALSE(std::holds_alternative<bool>(value));
EXPECT_FALSE(std::holds_alternative<unsigned int>(value));
EXPECT_EQ(0u, value.index());

// test invalid access
EXPECT_THROW(
Expand Down

0 comments on commit a1e2ef1

Please sign in to comment.