From 7f10fc480af15fa008381f83f6c1b78c5bfd12a3 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 4 Mar 2014 22:44:34 +0000 Subject: LWG Issue #2271: regex_traits::lookup_classname specification unclear. libc++ already does the right thing; just update the tests. llvm-svn: 202904 --- libcxx/test/re/re.traits/lookup_classname.pass.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libcxx/test') diff --git a/libcxx/test/re/re.traits/lookup_classname.pass.cpp b/libcxx/test/re/re.traits/lookup_classname.pass.cpp index 6819fb4f3e7..75c088858b4 100644 --- a/libcxx/test/re/re.traits/lookup_classname.pass.cpp +++ b/libcxx/test/re/re.traits/lookup_classname.pass.cpp @@ -115,9 +115,9 @@ int main() test("xdigit", std::ctype_base::xdigit, true); test("Xdigit", std::ctype_base::xdigit, true); - test("dig", 0); - test("", 0); - test("digits", 0); + test("dig", std::ctype_base::mask()); + test("", std::ctype_base::mask()); + test("digits", std::ctype_base::mask()); test(L"d", std::ctype_base::digit); test(L"D", std::ctype_base::digit); @@ -203,7 +203,7 @@ int main() test(L"xdigit", std::ctype_base::xdigit, true); test(L"Xdigit", std::ctype_base::xdigit, true); - test(L"dig", 0); - test(L"", 0); - test(L"digits", 0); + test(L"dig", std::ctype_base::mask()); + test(L"", std::ctype_base::mask()); + test(L"digits", std::ctype_base::mask()); } -- cgit v1.2.3