🪲 remove unused AbortFrame (#316)

This commit is contained in:
Mark VanderVoord
2024-03-26 22:29:06 -04:00
parent 714619eefb
commit ecaccb428b
2 changed files with 2 additions and 7 deletions
-3
View File
@@ -251,9 +251,6 @@ class CMockGenerator
end
def create_extern_declarations(file)
unless @exclude_setjmp_h
file << "extern jmp_buf AbortFrame;\n"
end
if @ordered
file << "extern int GlobalExpectCount;\n"
file << "extern int GlobalVerifyOrder;\n"
+2 -4
View File
@@ -412,8 +412,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
it "create extern declarations for source file" do
output = []
expected = [ "extern jmp_buf AbortFrame;\n",
"\n" ]
expected = [ "\n" ]
@cmock_generator.create_extern_declarations(output)
@@ -422,8 +421,7 @@ describe CMockGenerator, "Verify CMockGenerator Module" do
it "create extern declarations for source file when using strict ordering" do
output = []
expected = [ "extern jmp_buf AbortFrame;\n",
"extern int GlobalExpectCount;\n",
expected = [ "extern int GlobalExpectCount;\n",
"extern int GlobalVerifyOrder;\n",
"\n" ]