X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/efa1e6592fb03ce23b15276b2b91d885a3ee7da5..57a6839dcb3bba09e8228b822b290604668416fe:/icuSources/test/intltest/uts46test.cpp diff --git a/icuSources/test/intltest/uts46test.cpp b/icuSources/test/intltest/uts46test.cpp index 1039acdc..e7141418 100644 --- a/icuSources/test/intltest/uts46test.cpp +++ b/icuSources/test/intltest/uts46test.cpp @@ -1,6 +1,6 @@ /* ******************************************************************************* -* Copyright (C) 2010-2011, International Business Machines +* Copyright (C) 2010-2014, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* * file name: uts46test.cpp @@ -466,6 +466,8 @@ static const TestCase testCases[]={ "1234567890123456789012345678901234567890123456789012345678901", UIDNA_ERROR_LABEL_TOO_LONG|UIDNA_ERROR_DOMAIN_NAME_TOO_LONG }, // hyphen errors and empty-label errors + { ".", "B", ".", UIDNA_ERROR_EMPTY_LABEL }, + { "\\uFF0E", "B", ".", UIDNA_ERROR_EMPTY_LABEL }, // "xn---q----jra"=="-q--a-umlaut-" { "a.b..-q--a-.e", "B", "a.b..-q--a-.e", UIDNA_ERROR_EMPTY_LABEL|UIDNA_ERROR_LEADING_HYPHEN|UIDNA_ERROR_TRAILING_HYPHEN|