Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into 15/missing-dot-in-event-types
  • Loading branch information
zaza authored Apr 19, 2023
commit dfe33a275f8a113681880d82e4347994754db2c9
6 changes: 6 additions & 0 deletions src/test/java/dev/cdevents/constants/CDEventTypesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ void allEventTypeNamesMatchExpectedPattern() {
assertThat(CDEventTypes.values()).extracting(CDEventTypes::getEventType)
.allMatch(type -> type.matches("dev\\.cdevents\\.[a-z]+\\.[a-z]+\\.\\d+\\.\\d+\\.\\d+"));
}

@Test
void eventTypeNamesAreUnique() {
assertThat(CDEventTypes.values()).extracting(CDEventTypes::getEventType).doesNotHaveDuplicates();
}
}

You are viewing a condensed version of this merge commit. You can view the full changes here.