fix(display): fix inconsistency in the API (#5136)
This commit is contained in:
committed by
GitHub
parent
0f3c9b4734
commit
e10f573150
@@ -38,7 +38,7 @@ void test_win_should_have_valid_documented_default_values(void)
|
||||
TEST_ASSERT_EQUAL(content, lv_obj_get_child(win, 1));
|
||||
|
||||
// Check that the header is correctly sized and empty
|
||||
TEST_ASSERT_EQUAL(lv_display_get_dpi(lv_obj_get_disp(win)) / 2, lv_obj_get_height(header));
|
||||
TEST_ASSERT_EQUAL(lv_display_get_dpi(lv_obj_get_display(win)) / 2, lv_obj_get_height(header));
|
||||
TEST_ASSERT_EQUAL(0, lv_obj_get_child_count(header));
|
||||
|
||||
// Check that the content is empty
|
||||
|
||||
Reference in New Issue
Block a user