diff --git a/libcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp b/libcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp --- a/libcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp +++ b/libcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp @@ -26,9 +26,6 @@ SV sv0 {}; SV sv1 { s + 4, 1 }; SV sv2 { s + 3, 2 }; - SV sv3 { s + 2, 3 }; - SV sv4 { s + 1, 4 }; - SV sv5 { s , 5 }; SV svNot {"def", 3 }; LIBCPP_ASSERT_NOEXCEPT(sv0.ends_with("")); @@ -68,9 +65,6 @@ constexpr SV sv0 {}; constexpr SV sv1 { s + 4, 1 }; constexpr SV sv2 { s + 3, 2 }; -// constexpr SV sv3 { s + 2, 3 }; -// constexpr SV sv4 { s + 1, 4 }; -// constexpr SV sv5 { s, 5 }; constexpr SV svNot {"def", 3 }; static_assert ( sv0.ends_with(""), "" ); diff --git a/libcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp b/libcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp --- a/libcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp +++ b/libcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp @@ -26,9 +26,6 @@ SV sv0 {}; SV sv1 { s, 1 }; SV sv2 { s, 2 }; - SV sv3 { s, 3 }; - SV sv4 { s, 4 }; - SV sv5 { s, 5 }; SV svNot {"def", 3 }; LIBCPP_ASSERT_NOEXCEPT(sv0.starts_with("")); @@ -68,9 +65,6 @@ constexpr SV sv0 {}; constexpr SV sv1 { s, 1 }; constexpr SV sv2 { s, 2 }; -// constexpr SV sv3 { s, 3 }; -// constexpr SV sv4 { s, 4 }; -// constexpr SV sv5 { s, 5 }; constexpr SV svNot {"def", 3 }; static_assert ( sv0.starts_with(""), "" );