From be417dc249e69726e134a827afc44d6d07e2481e Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Thu, 9 Jan 2025 11:57:53 -0500 Subject: [PATCH] Remove okio.EOFException --- .../test/aws/smithy/kotlin/runtime/io/SdkBufferedSinkTest.kt | 1 - .../test/aws/smithy/kotlin/runtime/io/SdkBufferedSourceTest.kt | 1 - 2 files changed, 2 deletions(-) diff --git a/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSinkTest.kt b/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSinkTest.kt index 3117aa2a8..b3a76321c 100644 --- a/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSinkTest.kt +++ b/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSinkTest.kt @@ -9,7 +9,6 @@ import kotlin.test.Test import kotlin.test.assertContentEquals import kotlin.test.assertEquals import kotlin.test.assertFailsWith -import okio.EOFException // FIXME Leaking abstraction. Should we be catching okio.EOFException and throwing aws.smithy.kotlin.runtime.io.EOFException in our I/O implementations? // Test SdkBuffer implementation of SdkBufferedSink interface class SdkBufferSinkTest : AbstractBufferedSinkTest({ buffer -> buffer }) diff --git a/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSourceTest.kt b/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSourceTest.kt index 3c0143250..dc9df7ad7 100644 --- a/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSourceTest.kt +++ b/runtime/runtime-core/common/test/aws/smithy/kotlin/runtime/io/SdkBufferedSourceTest.kt @@ -6,7 +6,6 @@ package aws.smithy.kotlin.runtime.io import kotlin.test.* -import okio.EOFException /** * A (source, sink) connected pair. Writes to [sink] are read from [source]