@@ -810,7 +810,7 @@ TEST_F(LooksBlocksTest, SwitchCostumeTo_NegativeOutOfRangeNumberIndex)
810
810
ScriptBuilder builder (m_extension.get (), m_engine, sprite);
811
811
812
812
builder.addBlock (" looks_switchcostumeto" );
813
- builder.addValueInput (" COSTUME" , -1 );
813
+ builder.addValueInput (" COSTUME" , -4 );
814
814
builder.build ();
815
815
816
816
builder.run ();
@@ -1406,7 +1406,7 @@ TEST_F(LooksBlocksTest, SwitchBackdropTo_NegativeOutOfRangeNumberIndex)
1406
1406
ScriptBuilder builder (m_extension.get (), m_engine, sprite);
1407
1407
1408
1408
builder.addBlock (" looks_switchbackdropto" );
1409
- builder.addValueInput (" BACKDROP" , -1 );
1409
+ builder.addValueInput (" BACKDROP" , -4 );
1410
1410
auto block = builder.currentBlock ();
1411
1411
1412
1412
Compiler compiler (&m_engineMock, sprite.get ());
@@ -2568,7 +2568,7 @@ TEST_F(LooksBlocksTest, SwitchBackdropToAndWait_NegativeOutOfRangeNumberIndex)
2568
2568
ScriptBuilder builder (m_extension.get (), m_engine, sprite);
2569
2569
2570
2570
builder.addBlock (" looks_switchbackdroptoandwait" );
2571
- builder.addValueInput (" BACKDROP" , -1 );
2571
+ builder.addValueInput (" BACKDROP" , -4 );
2572
2572
auto block = builder.currentBlock ();
2573
2573
2574
2574
Compiler compiler (&m_engineMock, sprite.get ());
0 commit comments