1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00

AK+Everywhere: Remove "null state" of LexicalPath

This removes the default constructor of LexicalPath, and subsequently
modifies all its users to accommodate the change.
This commit is contained in:
Max Wipfli 2021-06-29 20:12:53 +02:00 committed by Andreas Kling
parent 4c018909f7
commit d8be530397
10 changed files with 52 additions and 52 deletions

View file

@ -149,11 +149,6 @@ TEST_CASE(has_extension)
EXPECT(path.has_extension(".png"));
}
{
LexicalPath path;
EXPECT_EQ(path.has_extension(".png"), false);
}
{
LexicalPath path("png");
EXPECT_EQ(path.has_extension(".png"), false);