From 2dda31ec38b85805cde9348aaebbfb0b5e5b00c8 Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 12 May 2020 15:51:01 +0200 Subject: [PATCH] Fixed that colon is now a legal character --- .../sepa/SepaMessageCreatorTest.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/fints4k/src/test/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaMessageCreatorTest.kt b/fints4k/src/test/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaMessageCreatorTest.kt index 8eeee835..c0d5c2fa 100644 --- a/fints4k/src/test/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaMessageCreatorTest.kt +++ b/fints4k/src/test/kotlin/net/dankito/fints/messages/segmente/implementierte/sepa/SepaMessageCreatorTest.kt @@ -29,6 +29,16 @@ class SepaMessageCreatorTest { assertThat(result).isTrue() } + @Test + fun `containsOnlyAllowedCharacters colon is a legal character`() { + + // when + val result = underTest.containsOnlyAllowedCharacters(":") + + // then + assertThat(result).isTrue() + } + @Test fun `containsOnlyAllowedCharacters ! is an illegal character`() { @@ -59,16 +69,6 @@ class SepaMessageCreatorTest { assertThat(result).isFalse() } - @Test - fun `containsOnlyAllowedCharacters colon is an illegal character`() { - - // when - val result = underTest.containsOnlyAllowedCharacters(":") - - // then - assertThat(result).isFalse() - } - @Test fun `containsOnlyAllowedCharacters รถ is an illegal character`() {