From cd5bb0d8888ff39a5746de62ea35bfd0bc26f534 Mon Sep 17 00:00:00 2001 From: marisaleung Date: Thu, 18 May 2017 14:09:01 -0700 Subject: [PATCH] Changed parameter name in workspace for clarity. --- tests/jsunit/workspace_test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/jsunit/workspace_test.js b/tests/jsunit/workspace_test.js index ac2d78f29..bf4618a86 100644 --- a/tests/jsunit/workspace_test.js +++ b/tests/jsunit/workspace_test.js @@ -62,12 +62,12 @@ function workspaceTest_tearDownWithMockBlocks() { /** * Create a test get_var_block. - * @param {?string} variable The string to put into the variable field. + * @param {?string} variable_name The string to put into the variable field. * @return {!Blockly.Block} The created block. */ -function createMockBlock(variable) { +function createMockBlock(variable_name) { var block = new Blockly.Block(workspace, 'get_var_block'); - block.inputList[0].fieldRow[0].setValue(variable); + block.inputList[0].fieldRow[0].setValue(variable_name); return block; }