diff --git a/tests/blocks/test_blocks.js b/tests/blocks/test_blocks.js index bfd2ea3d3..d5d9097ce 100644 --- a/tests/blocks/test_blocks.js +++ b/tests/blocks/test_blocks.js @@ -103,6 +103,30 @@ Blockly.defineBlocksWithJsonArray([ // BEGIN JSON EXTRACT "tooltip": "This is a JSON tooltip for the *block*.", "style": "math_blocks" }, + { + "type": "test_basic_javascript", + "message0": "function %1(%2) { %3 %4 return %5 }", + "args0": [ + "foo", + "args", + { + "type": "input_dummy" + }, + { + "type": "input_statement", + "name": "STACK" + }, + { + "type": "input_value", + "check": "number", + "align": "right", + "name": "RETURN" + } + ], + "inputsInline": true, + "colour": 200, + "tooltip": "Hello world." + }, { "type": "test_dropdowns_long", "message0": "long: %1", diff --git a/tests/playground.html b/tests/playground.html index c7f9cd191..c62630375 100644 --- a/tests/playground.html +++ b/tests/playground.html @@ -1274,6 +1274,7 @@ h1 { +