[libcxx-commits] [libcxx] 8817188 - [libc++][ranges] Fix a `split_view` test accidentally using `lazy_split`
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Sep 11 16:19:10 PDT 2023
Author: Konstantin Varlamov
Date: 2023-09-11T16:17:34-07:00
New Revision: 881718857f6d0189eecd1d7391aa1c3778959a80
URL: https://github.com/llvm/llvm-project/commit/881718857f6d0189eecd1d7391aa1c3778959a80
DIFF: https://github.com/llvm/llvm-project/commit/881718857f6d0189eecd1d7391aa1c3778959a80.diff
LOG: [libc++][ranges] Fix a `split_view` test accidentally using `lazy_split`
Added:
Modified:
libcxx/test/std/ranges/range.adaptors/range.split/ctor.view.pass.cpp
Removed:
################################################################################
diff --git a/libcxx/test/std/ranges/range.adaptors/range.split/ctor.view.pass.cpp b/libcxx/test/std/ranges/range.adaptors/range.split/ctor.view.pass.cpp
index 963f85f8c478f88..27fc4b84c520659 100644
--- a/libcxx/test/std/ranges/range.adaptors/range.split/ctor.view.pass.cpp
+++ b/libcxx/test/std/ranges/range.adaptors/range.split/ctor.view.pass.cpp
@@ -61,7 +61,7 @@ static_assert( test_convertible<std::ranges::split_view<View, Pattern>, View, Pa
constexpr bool test() {
{
std::string_view input = "abc def";
- std::ranges::lazy_split_view<std::string_view, std::string_view> v(input, " ");
+ std::ranges::split_view<std::string_view, std::string_view> v(input, " ");
assert(v.base() == input);
assert(std::ranges::equal(*v.begin(), std::string_view{"abc"}));
}
More information about the libcxx-commits
mailing list