diff --git a/tests/jsunit/generator_test.js b/tests/jsunit/generator_test.js index 9addeaa35..f1a04cd29 100644 --- a/tests/jsunit/generator_test.js +++ b/tests/jsunit/generator_test.js @@ -59,7 +59,7 @@ function defineGeneratorTestBlocks() { }]); } -function undefineTestBlocks() { +function undefineGeneratorTestBlocks() { delete Blockly.Blocks['stack_block']; delete Blockly.Blocks['row_block']; } @@ -70,7 +70,7 @@ function generatorTest_setUp() { } function generatorTest_tearDown() { - undefineTestBlocks(); + undefineGeneratorTestBlocks(); workspace.dispose(); }