Skip to content

Commit

Permalink
vaev-style: Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
sleepy-monax committed Dec 12, 2024
1 parent a8ebe8c commit 5289455
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/web/vaev-style/tests/test-media-features.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ static Media const TEST_MEDIA = {
.width = 1920_px,
.height = 1080_px,
.aspectRatio = 16.0 / 9.0,
.orientation = Orientation::LANDSCAPE,
.orientation = Print::Orientation::LANDSCAPE,

.resolution = Resolution::fromDpi(96),
.scan = Scan::PROGRESSIVE,
Expand Down Expand Up @@ -81,7 +81,7 @@ test$("feature-aspect-ratio") {
}

test$("feature-orientation") {
expect$(OrientationFeature{Orientation::LANDSCAPE}
expect$(OrientationFeature{Print::Orientation::LANDSCAPE}
.match(TEST_MEDIA));

return Ok();
Expand Down
2 changes: 1 addition & 1 deletion src/web/vaev-style/tests/test-media-query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ static Media const TEST_MEDIA = {
.width = Px(1920),
.height = Px(1080),
.aspectRatio = 16.0 / 9.0,
.orientation = Orientation::LANDSCAPE,
.orientation = Print::Orientation::LANDSCAPE,

.resolution = Resolution::fromDpi(96),
.scan = Scan::PROGRESSIVE,
Expand Down

0 comments on commit 5289455

Please sign in to comment.