Skip to content

Commit d0797f3

Browse files
committed
test: remove invalid EXPECT_NO_THROW for ambiguous step query
1 parent 91d7d85 commit d0797f3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cucumber_cpp/library/test/TestSteps.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ namespace cucumber_cpp::library
6868

6969
TEST_F(TestSteps, GetAmbiguousStep)
7070
{
71-
EXPECT_NO_THROW((void)stepRegistry.Query("an ambiguous step"));
72-
EXPECT_NO_THROW((void)stepRegistry.Query("an ambiguous step"));
73-
7471
EXPECT_THROW((void)stepRegistry.Query("an ambiguous step"), StepRegistry::AmbiguousStepError);
7572
}
7673

0 commit comments

Comments
 (0)