Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync pangram tests #245

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions exercises/practice/pangram/.meta/tests.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,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"
4 changes: 2 additions & 2 deletions exercises/practice/pangram/source/pangram.d
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ unittest
// Mixed case and punctuation
assert(isPangram("\"Five quacking Zephyrs jolt my wax bed\""));

// Case insensitive
assert(!isPangram("the quick brown fox jumps over with lazy FX"));
// a-m and A-M are 26 different characters but not a pangram
assert(!isPangram("abcdefghijklm ABCDEFGHIJKLM"));
}
}