Skip to content

Commit

Permalink
Fix build of C++ tests (squash)
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Jan 26, 2022
1 parent b6492b0 commit 78c3d4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cases/models/write_to_model.60
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ const TestCase &instance = *handle;
sixtyfps::testing::send_mouse_click(&instance, 15., 5.);
assert_eq(instance.get_clicked_score(), 792);

assert_eq(std::get<2>(instance.get_model()->row_data(1)), 792.);
assert_eq(std::get<2>(*instance.get_model()->row_data(1)), 792.);
instance.invoke_manual_score_update(1, 100);
assert_eq(std::get<2>(instance.get_model()->row_data(1)), 892.);
assert_eq(std::get<2>(*instance.get_model()->row_data(1)), 892.);

using ModelData = std::tuple<sixtyfps::SharedString, sixtyfps::SharedString, float>;
std::vector<ModelData> array;
Expand Down

0 comments on commit 78c3d4c

Please sign in to comment.