[libcxx-commits] [PATCH] D72465: [libcxx] [test] Portability fix of std::strstreambuf constructor test.

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 14 14:09:21 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGb3445c839fac: [libc++][test] Portability fix of std::strstreambuf constructor test (authored by ldionne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72465/new/

https://reviews.llvm.org/D72465

Files:
  libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp


Index: libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp
===================================================================
--- libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp
+++ libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/default.pass.cpp
@@ -26,7 +26,7 @@
     }
     {
         std::strstreambuf s(1024);
-        assert(s.str() == nullptr);
+        LIBCPP_ASSERT(s.str() == nullptr);
         assert(s.pcount() == 0);
     }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72465.291683.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200914/f8f1a3de/attachment.bin>


More information about the libcxx-commits mailing list