File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libcxx/test/std/strings/basic.string Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,20 @@ template <typename Char>
99void test_string () {
1010 // Make a test string.
1111 std::basic_string<Char> s;
12- LIBCPP_ASSERT (s.size () == 0 );
12+ assert (s.size () == 0 );
1313
1414 // Append enough chars to it that we must have switched over from a short
1515 // string stored internally to a long one pointing to a dynamic buffer,
1616 // causing a reallocation.
1717 unsigned n = sizeof (s) / sizeof (Char) + 1 ;
1818 for (unsigned i = 0 ; i < n; i++) {
1919 s.push_back (Char::from_integer (i));
20- LIBCPP_ASSERT (s.size () == i + 1 );
20+ assert (s.size () == i + 1 );
2121 }
2222
2323 // Check that all the chars were correctly copied during the realloc.
2424 for (unsigned i = 0 ; i < n; i++) {
25- LIBCPP_ASSERT (s[i] == Char::from_integer (i));
25+ assert (s[i] == Char::from_integer (i));
2626 }
2727}
2828
You can’t perform that action at this time.
0 commit comments