Skip to content

Commit

Permalink
fix utests spanners
Browse files Browse the repository at this point in the history
  • Loading branch information
sammik committed Sep 13, 2023
1 parent c4c0074 commit 14f147c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engraving/tests/join_tests.cpp
Expand Up @@ -61,7 +61,9 @@ void Engraving_JoinTests::join(const char* p1, const char* p2, int index)

EXPECT_NE(m1, m2);

score->startCmd();
score->cmdJoinMeasure(m1, m2);
score->endCmd();

EXPECT_TRUE(ScoreComp::saveCompareScore(score, String::fromUtf8(p1), JOIN_DATA_DIR + String::fromUtf8(p2)));
delete score;
Expand Down
2 changes: 2 additions & 0 deletions src/engraving/tests/split_tests.cpp
Expand Up @@ -52,7 +52,9 @@ void Engraving_SplitTests::split(const char* f1, const char* ref, int index)
}
ChordRest* cr = toChordRest(s->element(0));

score->startCmd();
score->cmdSplitMeasure(cr);
score->endCmd();

EXPECT_TRUE(ScoreComp::saveCompareScore(score, String::fromUtf8(f1), SPLIT_DATA_DIR + String::fromUtf8(ref)));
delete score;
Expand Down

0 comments on commit 14f147c

Please sign in to comment.