Skip to content

Commit

Permalink
Add a test of contents
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Nov 24, 2024
1 parent c038ba7 commit 6b776ec
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ class PublicSuffixDatabaseTest {
checkPublicSuffix("xn--fiqs8s", null)
}

@Test fun contentsMatch() {
assertEquals(list.bytes, EmbeddedPublicSuffixList.bytes)
assertEquals(list.exceptionBytes, EmbeddedPublicSuffixList.exceptionBytes)
}

private fun checkPublicSuffix(
domain: String,
registrablePart: String?,
Expand Down

0 comments on commit 6b776ec

Please sign in to comment.