Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.11.0
Description
// code placeholder @Test public void testNFACompilerPatternEndsWithNotFollowedBy() { // adjust the rule expectedException.expect(MalformedPatternException.class); expectedException.expectMessage("NotFollowedBy is not supported as a last part of a Pattern!"); Pattern<Event, ?> invalidPattern = Pattern.<Event>begin("start").where(new TestFilter()) .followedBy("middle").where(new TestFilter()) .notFollowedBy("end").where(new TestFilter()); // here we must have an exception because of the two "start" patterns with the same name. compile(invalidPattern, false); }
// here we must have an exception because of the two "start" patterns with the same name.
It is not right
Attachments
Issue Links
- links to