Skip to content

Commit b6be301

Browse files
committed
Sync new tests
1 parent cd2e902 commit b6be301

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

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

Lines changed: 13 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
[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.test.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,9 @@ describe('Check if the given string is an isogram', () => {
6666
const expected = false
6767
expect(isIsogram('angola')).toEqual(expected)
6868
})
69+
70+
xit('word with duplicated character and with two hyphens', () => {
71+
const expected = false
72+
expect(isIsogram('up-to-date')).toEqual(expected)
73+
})
6974
})

0 commit comments

Comments
 (0)