From cf5521ec68af3982bdabc9a80188dd0111798649 Mon Sep 17 00:00:00 2001 From: Pavel Shliak Date: Wed, 6 Nov 2024 11:26:07 +0400 Subject: [PATCH] Tests: Remove duplicated test for StringView --- Tests/AK/TestStringView.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tests/AK/TestStringView.cpp b/Tests/AK/TestStringView.cpp index 4530a6be205..a4199b22a36 100644 --- a/Tests/AK/TestStringView.cpp +++ b/Tests/AK/TestStringView.cpp @@ -184,8 +184,6 @@ TEST_CASE(split_view) Function predicate = [](char ch) { return ch == 'x' || ch == '_'; }; EXPECT_EQ(test_string_view.split_view_if(predicate), Vector({ "a"sv, "b"sv, "c"sv, "d"sv })); EXPECT_EQ(test_string_view.split_view_if(predicate, SplitBehavior::KeepEmpty), Vector({ "a"sv, ""sv, "b"sv, "c"sv, "d"sv })); - EXPECT_EQ(test_string_view.split_view_if(predicate), Vector({ "a"sv, "b"sv, "c"sv, "d"sv })); - EXPECT_EQ(test_string_view.split_view_if(predicate, SplitBehavior::KeepEmpty), Vector({ "a"sv, ""sv, "b"sv, "c"sv, "d"sv })); test_string_view = "a,,,b"sv; EXPECT_EQ(test_string_view.split_view(","sv, SplitBehavior::KeepEmpty), Vector({ "a"sv, ""sv, ""sv, "b"sv }));