Skip to content

Commit ba2816f

Browse files
committed
Remove leftover hat blocks from show/hide monitor tests
1 parent 55b0221 commit ba2816f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

test/blocks/list_blocks_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,12 +778,10 @@ TEST_F(ListBlocksTest, ShowList_Local_FromClone)
778778
ScriptBuilder builder1(m_extension.get(), m_engine, clone);
779779
builder1.addBlock("data_showlist");
780780
builder1.addEntityField("LIST", list1);
781-
Block *hat1 = builder1.currentBlock()->parent();
782781

783782
ScriptBuilder builder2(m_extension.get(), m_engine, clone);
784783
builder2.addBlock("data_showlist");
785784
builder2.addEntityField("LIST", list2);
786-
Block *hat2 = builder2.currentBlock()->parent();
787785

788786
ScriptBuilder::buildMultiple({ &builder1, &builder2 });
789787

test/blocks/variable_blocks_test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,10 @@ TEST_F(VariableBlocksTest, ShowVariable_Local_FromClone)
338338
ScriptBuilder builder1(m_extension.get(), m_engine, clone);
339339
builder1.addBlock("data_showvariable");
340340
builder1.addEntityField("VARIABLE", var1);
341-
Block *hat1 = builder1.currentBlock()->parent();
342341

343342
ScriptBuilder builder2(m_extension.get(), m_engine, clone);
344343
builder2.addBlock("data_showvariable");
345344
builder2.addEntityField("VARIABLE", var2);
346-
Block *hat2 = builder2.currentBlock()->parent();
347345

348346
ScriptBuilder::buildMultiple({ &builder1, &builder2 });
349347

0 commit comments

Comments
 (0)