mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
Enable toLower umlauts test
Update comment and enable the test
This commit is contained in:
parent
2191141274
commit
181a47d884
1 changed files with 5 additions and 5 deletions
|
@ -301,12 +301,12 @@ namespace nix {
|
||||||
ASSERT_EQ(toLower(s), s);
|
ASSERT_EQ(toLower(s), s);
|
||||||
}
|
}
|
||||||
|
|
||||||
// XXX: std::tolower() doesn't cover this. This probably doesn't matter
|
// std::tolower() doesn't handle unicode characters. In the context of
|
||||||
// since the context is paths and store paths specifically where such
|
// store paths this isn't relevant but doesn't hurt to record this behavior
|
||||||
// characters are not allowed.
|
// here.
|
||||||
TEST(toLower, DISABLED_umlauts) {
|
TEST(toLower, umlauts) {
|
||||||
auto s = "ÄÖÜ";
|
auto s = "ÄÖÜ";
|
||||||
ASSERT_EQ(toLower(s), "äöü");
|
ASSERT_EQ(toLower(s), "ÄÖÜ");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue