From d16544100f5b4c9b1e4848d510675de5b3924350 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Mon, 11 Jul 2022 20:51:09 +0000 Subject: [PATCH] Tests: Remove StringView char const* initialization test We now explicitly disallow this. --- Tests/AK/TestStringView.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Tests/AK/TestStringView.cpp b/Tests/AK/TestStringView.cpp index 91b124aec8..08277100e8 100644 --- a/Tests/AK/TestStringView.cpp +++ b/Tests/AK/TestStringView.cpp @@ -181,12 +181,6 @@ TEST_CASE(constexpr_stuff) constexpr StringView test_constexpr { "foo"sv }; do_test(); } - - { - // Can initialize from char const*. - constexpr StringView test_constexpr { "foo" }; - do_test(); - } #undef do_test }