Skip to content

Commit 88c61fe

Browse files
committed
Clean up
1 parent 11572b5 commit 88c61fe

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

aws-crt-kotlin/native/src/aws/sdk/kotlin/crt/io/HostResolverNative.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ private fun awsOnHostResolveFn(
100100
hostAddresses: CPointer<aws_array_list>?, // list of `aws_host_address`
101101
userData: COpaquePointer?,
102102
): Unit = memScoped {
103-
println("In callback awsOnHostResolveFn")
104103
if (errCode != AWS_OP_SUCCESS) {
105104
throw CrtRuntimeException("aws_on_host_resolved_result_fn", ec = errCode)
106105
}

aws-crt-kotlin/native/test/aws/sdk/kotlin/crt/io/CrtHostResolverTest.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ import kotlin.test.assertTrue
1414

1515
// Copied from smithy-kotlin
1616
class CrtHostResolverTest {
17-
private val ipv4Regex = Regex("""^(\d{1,3}\.){3}\d{1,3}$""")
18-
private val ipv6Regex = Regex("""^(([0-9a-fA-F]{1,4}:){1,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|::([0-9a-fA-F]{1,4}:){0,6}[0-9a-fA-F]{1,4})$""")
19-
2017
@Test
2118
fun testResolveLocalhost() = runTest {
2219
val hr = HostResolver()

0 commit comments

Comments
 (0)