diff options
Diffstat (limited to 'support/arara/source/src/test/kotlin/org/islandoftex/arara/localization/LanguageTest.kt')
-rw-r--r-- | support/arara/source/src/test/kotlin/org/islandoftex/arara/localization/LanguageTest.kt | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/support/arara/source/src/test/kotlin/org/islandoftex/arara/localization/LanguageTest.kt b/support/arara/source/src/test/kotlin/org/islandoftex/arara/localization/LanguageTest.kt deleted file mode 100644 index 92d38ebc9b..0000000000 --- a/support/arara/source/src/test/kotlin/org/islandoftex/arara/localization/LanguageTest.kt +++ /dev/null @@ -1,20 +0,0 @@ -// SPDX-License-Identifier: BSD-3-Clause -package org.islandoftex.arara.localization - -import io.kotlintest.shouldBe -import io.kotlintest.shouldThrow -import io.kotlintest.specs.ShouldSpec -import java.util.Locale -import org.islandoftex.arara.model.AraraException - -class LanguageTest : ShouldSpec({ - should("instantiate with known code") { - Language("en").locale shouldBe Locale.ENGLISH - } - - should("throw on unknown language") { - shouldThrow<AraraException> { - Language("quack") - } - } -}) |