mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Tests: Remove StringView char const* initialization test
We now explicitly disallow this.
This commit is contained in:
parent
604aac531c
commit
d16544100f
Notes:
sideshowbarker
2024-07-17 09:26:35 +09:00
Author: https://github.com/sin-ack Commit: https://github.com/SerenityOS/serenity/commit/d16544100f Pull-request: https://github.com/SerenityOS/serenity/pull/14555 Reviewed-by: https://github.com/Dexesttp ✅ Reviewed-by: https://github.com/kleinesfilmroellchen
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user