Skip to content

Commit

Permalink
Convert tests from Java to Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
squarejesse committed Dec 22, 2023
1 parent 3da73c3 commit 5a71469
Show file tree
Hide file tree
Showing 48 changed files with 4,802 additions and 5,428 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class MockWebServerRuleTest {
val rule = MockWebServerRule()
val called = AtomicBoolean()
val statement: Statement = rule.apply(object : Statement() {
@Throws(Throwable::class) override fun evaluate() {
override fun evaluate() {
called.set(true)
rule.server.url("/").toUrl().openConnection().connect()
}
Expand Down
Loading

0 comments on commit 5a71469

Please sign in to comment.