Skip to content

Commit

Permalink
Issue #2026: added reopened to GHIssueStateReason
Browse files Browse the repository at this point in the history
  • Loading branch information
rnveach committed Feb 14, 2025
1 parent 54163af commit 38b666d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/org/kohsuke/github/GHIssueStateReason.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ public enum GHIssueStateReason {
/** Closed as not planned **/
NOT_PLANNED,

/** Re-opened **/
REOPENED,

/** Uknown **/
UNKNOWN
}
2 changes: 1 addition & 1 deletion src/test/java/org/kohsuke/github/EnumTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void touchEnums() {

assertThat(GHIssueState.values().length, equalTo(3));

assertThat(GHIssueStateReason.values().length, equalTo(3));
assertThat(GHIssueStateReason.values().length, equalTo(4));

assertThat(GHMarketplaceAccountType.values().length, equalTo(2));

Expand Down

0 comments on commit 38b666d

Please sign in to comment.