Skip to content

Commit 973f2f4

Browse files
authored
Syncing test.toml and updating the test code for pangram (#2644)
* Syncing test.toml and updating the test code * Fixing formatting issue
1 parent 1168817 commit 973f2f4

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

exercises/practice/pangram/.meta/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"contributors": [
66
"amscotti",
77
"ankorGH",
8+
"jagdish-15",
89
"PakkuDon",
910
"rchavarria",
1011
"ryanplusplus",

exercises/practice/pangram/.meta/tests.toml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# This is an auto-generated file. Regular comments will be removed when this
2-
# file is regenerated. Regenerating will not touch any manually added keys,
3-
# so comments can be added in a "comment" key.
1+
# This is an auto-generated file.
2+
#
3+
# Regenerating this file via `configlet sync` will:
4+
# - Recreate every `description` key/value pair
5+
# - Recreate every `reimplements` key/value pair, where they exist in problem-specifications
6+
# - Remove any `include = true` key/value pair (an omitted `include` key implies inclusion)
7+
# - Preserve any other key/value pair
8+
#
9+
# As user-added comments (using the # character) will be removed when this file
10+
# is regenerated, comments can be added via a `comment` key.
411

512
[64f61791-508e-4f5c-83ab-05de042b0149]
613
description = "empty sentence"
@@ -31,3 +38,8 @@ description = "mixed case and punctuation"
3138

3239
[2577bf54-83c8-402d-a64b-a2c0f7bb213a]
3340
description = "case insensitive"
41+
include = false
42+
43+
[7138e389-83e4-4c6e-8413-1e40a0076951]
44+
description = "a-m and A-M are 26 different characters but not a pangram"
45+
reimplements = "2577bf54-83c8-402d-a64b-a2c0f7bb213a"

exercises/practice/pangram/pangram.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ describe('Pangram()', () => {
4444
expect(isPangram('"Five quacking Zephyrs jolt my wax bed."')).toBe(true);
4545
});
4646

47-
xtest('case insensitive', () => {
48-
expect(isPangram('the quick brown fox jumps over with lazy FX')).toBe(
49-
false,
50-
);
47+
xtest('a-m and A-M are 26 different characters but not a pangram', () => {
48+
expect(isPangram('abcdefghijklm ABCDEFGHIJKLM')).toBe(false);
5149
});
5250
});

0 commit comments

Comments
 (0)