Skip to content

Commit

Permalink
chore: test case (refs tomasbjerre#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Mar 27, 2024
1 parent 1680e3e commit d8ab1f7
Show file tree
Hide file tree
Showing 3 changed files with 916 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/java/se/bjurr/gitchangelog/api/GitChangelogApiTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,17 @@ public void after() {
mock(null);
}

@Test
public void testIssue182() throws Exception {
final GitChangelogApi given =
gitChangelogApiBuilder() //
.withTemplatePath("changelog-with-unreleased.mustache")
.withFromRevision(ZERO_COMMIT) //
.withToRevision("test/issue-182");

ApprovalsWrapper.verify(given);
}

@Test
public void testThatFirstVersionCanBeGenerated() throws Exception {
final GitChangelogApi given =
Expand Down
Loading

0 comments on commit d8ab1f7

Please sign in to comment.