Skip to content

Commit

Permalink
Rename TestInput -> HtmlTestInput
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Oct 19, 2023
1 parent 95eca8e commit ee4ee13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unfurl/src/test/kotlin/me/saket/unfurl/UnfurlerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class UnfurlerTest {
private val server = MockWebServer()
private val unfurler = Unfurler()

@Test fun unfurl(@TestParameter input: TestInput) {
@Test fun `parse HTML correctly`(@TestParameter input: HtmlTestInput) {
server.enqueue(
MockResponse()
.setHeader("Content-Type", "text/html; charset=UTF-8")
Expand Down Expand Up @@ -62,7 +62,7 @@ class UnfurlerTest {
}

@Suppress("EnumEntryName", "unused")
enum class TestInput(
enum class HtmlTestInput(
val url: String,
val htmlFileName: String,
val expected: (serverUrl: HttpUrl) -> UnfurlResult?
Expand Down

0 comments on commit ee4ee13

Please sign in to comment.