From 25ca65e6a479cf4b232423dffcc35341356f3e1a Mon Sep 17 00:00:00 2001 From: manumafe98 Date: Wed, 3 Jan 2024 13:15:08 -0300 Subject: [PATCH] Sync tests for practice exercise panagram --- exercises/practice/pangram/.meta/tests.toml | 18 +++++++++++++++--- .../src/test/java/PangramCheckerTest.java | 2 +- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/exercises/practice/pangram/.meta/tests.toml b/exercises/practice/pangram/.meta/tests.toml index 8075c5ba3..10b5a335a 100644 --- a/exercises/practice/pangram/.meta/tests.toml +++ b/exercises/practice/pangram/.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. [64f61791-508e-4f5c-83ab-05de042b0149] description = "empty sentence" @@ -31,3 +38,8 @@ description = "mixed case and punctuation" [2577bf54-83c8-402d-a64b-a2c0f7bb213a] description = "case insensitive" +include = false + +[7138e389-83e4-4c6e-8413-1e40a0076951] +description = "a-m and A-M are 26 different characters but not a pangram" +reimplements = "2577bf54-83c8-402d-a64b-a2c0f7bb213a" diff --git a/exercises/practice/pangram/src/test/java/PangramCheckerTest.java b/exercises/practice/pangram/src/test/java/PangramCheckerTest.java index b60e2f34e..b7401243c 100644 --- a/exercises/practice/pangram/src/test/java/PangramCheckerTest.java +++ b/exercises/practice/pangram/src/test/java/PangramCheckerTest.java @@ -69,6 +69,6 @@ public void phraseWithMixedCaseAndPunctuationIsPangram() { @Ignore("Remove to run test") @Test public void caseInsensitivePhraseIsNotPangram() { - assertThat(pangramChecker.isPangram("the quick brown fox jumps over with lazy FX")).isFalse(); + assertThat(pangramChecker.isPangram("abcdefghijklm ABCDEFGHIJKLM")).isFalse(); } }