Skip to content

Commit c0e7399

Browse files
committed
Ensure blocks in targets are not monitor blocks
1 parent dd5e98c commit c0e7399

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/load_project/load_project_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ TEST(LoadProjectTest, LoadTestProject)
282282
ASSERT_EQ(sprite1->greenFlagBlocks()[0]->y(), 0);
283283
auto block = sprite1->greenFlagBlocks()[0]->next();
284284
ASSERT_TRUE(block);
285+
ASSERT_FALSE(block->isMonitorBlock());
285286
ASSERT_EQ(block->parent(), sprite1->greenFlagBlocks()[0]);
286287
ASSERT_EQ(block->opcode(), "control_forever");
287288
ASSERT_FALSE(block->isTopLevelReporter());

0 commit comments

Comments
 (0)