From d5d5035d3740104acb38b1b0f95c1305f78bfd95 Mon Sep 17 00:00:00 2001 From: Antoine A <> Date: Tue, 12 Mar 2024 11:32:50 +0100 Subject: codespell --- nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt | 4 ++-- nexus/src/test/kotlin/EbicsTest.kt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt index 74c1dd32..ae4233c4 100644 --- a/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt +++ b/nexus/src/main/kotlin/tech/libeufin/nexus/ebics/EbicsCommon.kt @@ -125,7 +125,7 @@ suspend fun HttpClient.postToBank(bankUrl: String, msg: ByteArray, phase: String try { return XMLUtil.parseIntoDom(res.bodyAsChannel().toInputStream()) } catch (e: SAXException) { - throw EbicsError.Protocol("$phase: invalid XML bank reponse", e) + throw EbicsError.Protocol("$phase: invalid XML bank response", e) } catch (e: Exception) { throw EbicsError.Transport("$phase: failed read bank response", e) } @@ -216,7 +216,7 @@ suspend fun ebicsDownload( if (!parentScope.isActive) { // First send a proper EBICS transaction failure receipt(false) - // Send throw cancelation exception + // Send throw cancellation exception throw CancellationException() } } diff --git a/nexus/src/test/kotlin/EbicsTest.kt b/nexus/src/test/kotlin/EbicsTest.kt index a67a48d6..aa182a93 100644 --- a/nexus/src/test/kotlin/EbicsTest.kt +++ b/nexus/src/test/kotlin/EbicsTest.kt @@ -52,7 +52,7 @@ class EbicsTest { respondOk("") }.postToBank("http://ignored.example.com/", ByteArray(0), "Test") }.run { - assertEquals("Test: invalid XML bank reponse", message) + assertEquals("Test: invalid XML bank response", message) assertEquals("Attribute name \"broken\" associated with an element type \"ebics\" must be followed by the ' = ' character.", cause!!.message) } getMockedClient { -- cgit v1.2.3