diff --git a/bin/tests/test_gdscript.cpp b/bin/tests/test_gdscript.cpp index 4b4030954a0..f43828553d0 100644 --- a/bin/tests/test_gdscript.cpp +++ b/bin/tests/test_gdscript.cpp @@ -478,6 +478,7 @@ static String _disassemble_addr(const Ref& p_script,const GDFunction& case GDFunction::ADDR_TYPE_NIL: { return "nil"; } break; + } return ""; @@ -828,6 +829,13 @@ static void _disassemble_class(const Ref& p_class,const Vector txt+=" end"; incr+=1; } break; + case GDFunction::OPCODE_ASSERT: { + + txt+=" assert "; + txt+=DADDR(1); + incr+=2; + + } break; }