diff --git a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.move.mode.pass.cpp b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.move.mode.pass.cpp --- a/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.move.mode.pass.cpp +++ b/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/string.move.mode.pass.cpp @@ -19,24 +19,21 @@ #include #include "make_string.h" -#include "test_allocator.h" #include "test_macros.h" #define STR(S) MAKE_STRING(CharT, S) -#define SV(S) MAKE_STRING_VIEW(CharT, S) template static void test() { { std::basic_string s(STR("testing")); - const std::basic_stringbuf, test_allocator> buf(std::move(s)); - assert(buf.view() == SV("testing")); + const std::basic_stringbuf buf(std::move(s)); + assert(buf.str() == STR("testing")); } { std::basic_string s(STR("testing")); - const std::basic_stringbuf, test_allocator> buf( - std::move(s), std::ios_base::out); - assert(buf.view() == SV("testing")); + const std::basic_stringbuf buf(std::move(s), std::ios_base::out); + assert(buf.str() == STR("testing")); } }