Skip to content

Commit fa552bc

Browse files
committed
Update compiler test for new dropdown menu detection
1 parent 470f282 commit fa552bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/compiler/compiler_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ TEST_F(CompilerTest, ResolveDropdownMenuInput)
358358
auto block = std::make_shared<Block>("a", "test_block1");
359359
auto input = std::make_shared<Input>("INPUT1", Input::Type::Shadow);
360360
auto menu = std::make_shared<Block>("a", "test_menu");
361+
menu->setShadow(true);
361362
auto optionField = std::make_shared<Field>("OPTION", "test");
362363
input->setInputId(TestBlockSection::INPUT1);
363364
input->setValueBlock(menu);

0 commit comments

Comments
 (0)