From eae7ba2469fe8bc9e440d4ef227d16510140f6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20B=20Nagy?= <20251272+BNAndras@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:55:33 -0700 Subject: [PATCH] Add new test --- exercises/practice/isogram/.meta/tests.toml | 16 +++++++++++++--- exercises/practice/isogram/runtests.jl | 4 ++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/exercises/practice/isogram/.meta/tests.toml b/exercises/practice/isogram/.meta/tests.toml index 7187c340..ba04c664 100644 --- a/exercises/practice/isogram/.meta/tests.toml +++ b/exercises/practice/isogram/.meta/tests.toml @@ -1,6 +1,13 @@ -# This is an auto-generated file. Regular comments will be removed when this -# file is regenerated. Regenerating will not touch any manually added keys, -# so comments can be added in a "comment" key. +# This is an auto-generated file. +# +# Regenerating this file via `configlet sync` will: +# - Recreate every `description` key/value pair +# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications +# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion) +# - Preserve any other key/value pair +# +# As user-added comments (using the # character) will be removed when this file +# is regenerated, comments can be added via a `comment` key. [a0e97d2d-669e-47c7-8134-518a1e2c4555] description = "empty string" @@ -40,3 +47,6 @@ description = "duplicated character in the middle" [310ac53d-8932-47bc-bbb4-b2b94f25a83e] description = "same first and last characters" + +[0d0b8644-0a1e-4a31-a432-2b3ee270d847] +description = "word with duplicated character and with two hyphens" diff --git a/exercises/practice/isogram/runtests.jl b/exercises/practice/isogram/runtests.jl index 17182d25..9f1cc761 100644 --- a/exercises/practice/isogram/runtests.jl +++ b/exercises/practice/isogram/runtests.jl @@ -57,3 +57,7 @@ end @testset "same first and last characters" begin @test !isisogram("angola") end + +@testset "word with duplicated character and with two hyphens" begin + @test !isisogram("up-to-date") +end