Skip to content

Commit d9fb064

Browse files
authored
Adding tests for isogram (#2590)
1 parent 4f4f7aa commit d9fb064

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

exercises/practice/isogram/.meta/config.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"contributors": [
44
"amscotti",
55
"ankorGH",
6+
"jagdish-15",
67
"matthewmorgan",
78
"ovidiu141",
89
"PakkuDon",

exercises/practice/isogram/.meta/tests.toml

+13-3
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
[a0e97d2d-669e-47c7-8134-518a1e2c4555]
613
description = "empty string"
@@ -40,3 +47,6 @@ description = "duplicated character in the middle"
4047

4148
[310ac53d-8932-47bc-bbb4-b2b94f25a83e]
4249
description = "same first and last characters"
50+
51+
[0d0b8644-0a1e-4a31-a432-2b3ee270d847]
52+
description = "word with duplicated character and with two hyphens"

exercises/practice/isogram/isogram.spec.js

+4
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,9 @@ describe('Isogram', () => {
5454
xtest('same first and last characters', () => {
5555
expect(isIsogram('angola')).toEqual(false);
5656
});
57+
58+
xtest('word with duplicated character and with two hyphens', () => {
59+
expect(isIsogram('up-to-date')).toEqual(false);
60+
});
5761
});
5862
});

0 commit comments

Comments
 (0)