Skip to content

Commit bd9ac67

Browse files
committed
WIP
1 parent 4ea85b3 commit bd9ac67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cucumber-junit-platform-engine/src/main/java/io/cucumber/junit/platform/engine/FeatureResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ private Function<TestDescriptor, Optional<TestDescriptor>> createTestDescriptor(
254254
source.nodeSource(node),
255255
feature.getPickleAt(node)));
256256
}
257-
return Optional.empty();
257+
throw new IllegalStateException("Got a " + node.getClass() + " but didn't have a case to handle it");
258258
};
259259
}
260260

0 commit comments

Comments
 (0)