commit | 6df1412ca6094eb5fd336a22d0f8cb0a26413c9f | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Sun Feb 19 14:51:01 2012 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Sun Feb 19 14:51:01 2012 +0000 |
tree | 75b9cfc407ce8953e2e61ec807afcbb984cfcd96 | |
parent | 3508b3836b386b3e1aeff017aec3685b2deff5f7 [diff] |
Relax pointer output test to accept glibc's output. Patch supplied by Jeffrey Yasskin. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@150927 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp b/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp index c3769d8..3303db9 100644 --- a/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp +++ b/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp
@@ -38,6 +38,6 @@ char str[50]; output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); std::string ex(str, iter.base()); - assert(ex == "0x0"); + assert(ex == "0x0" || ex == "(nil)"); } }