Use logos from the logo folder over the vscode-extension icon

This commit is contained in:
Tobias Hunger 2022-02-04 14:25:55 +01:00
parent ade7c23bf6
commit c273537990
No known key found for this signature in database
GPG key ID: 60874021D2F23F91
4 changed files with 5 additions and 5 deletions

View file

@ -164,7 +164,7 @@ TEST_CASE("Image")
REQUIRE(!img.path().has_value());
}
img = Image::load_from_path(SOURCE_DIR "/../../vscode_extension/extension-logo.png");
img = Image::load_from_path(SOURCE_DIR "/../../logo/slint-logo-square-light-128x128.png");
{
auto size = img.size();
REQUIRE(size.width == 128.);
@ -173,7 +173,7 @@ TEST_CASE("Image")
{
auto actual_path = img.path();
REQUIRE(actual_path.has_value());
REQUIRE(*actual_path == SOURCE_DIR "/../../vscode_extension/extension-logo.png");
REQUIRE(*actual_path == SOURCE_DIR "/../../logo/slint-logo-square-light-128x128.png");
}
}