Skip to content

Commit c2beedf

Browse files
committed
problem: failing tests
1 parent 025783b commit c2beedf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/groovy/io/emeraldpay/grpc/EmeraldApiBuilderSpec.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class EmeraldApiBuilderSpec extends Specification {
1010
.connectTo("localhost:1234")
1111
then:
1212
act.port == 1234
13-
act.host == InetAddress.getByName("localhost")
13+
act.host == "localhost"
1414
}
1515

1616
def "Use host if only provided"() {
@@ -19,6 +19,6 @@ class EmeraldApiBuilderSpec extends Specification {
1919
.connectTo("google.com")
2020
then:
2121
act.port == null
22-
act.host == InetAddress.getByName("google.com")
22+
act.host == "google.com"
2323
}
2424
}

0 commit comments

Comments
 (0)