Skip to content

Commit

Permalink
test to establish if resource is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewHogg committed Mar 15, 2024
1 parent 0296c0f commit 68fe53c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ class DatabaseVersionTest {
val res = this.javaClass.getResource("/fileloaders/parsers/releaseNotes/DSE68ReleaseNoteFragment.txt")
if (res == null) {
logger.info("test resource does not exist")
val x = 1/0
}
val content = this.javaClass.getResourceAsStream("/fileloaders/parsers/releaseNotes/DSE68ReleaseNoteFragment.txt").reader().readLines()
assertThat(DatabaseVersion.locateLatestRelease(content, "# Release notes for 6.8.")).isEqualTo("6.8.43")
Expand Down

0 comments on commit 68fe53c

Please sign in to comment.