Reenabled parameter case tests.

This commit is contained in:
Beka Westberg
2019-07-08 10:44:20 -07:00
parent ab352114b7
commit bb19b4ce0c
2 changed files with 3 additions and 3 deletions

View File

@@ -331,7 +331,7 @@ Blockly.Blocks['procedures_defnoreturn'] = {
displayRenamedVar_: function(oldName, newName) {
this.updateParams_();
// Update the mutator's variables if the mutator is open.
if (this.mutator.isVisible()) {
if (this.mutator && this.mutator.isVisible()) {
var blocks = this.mutator.workspace_.getAllBlocks(false);
for (var i = 0, block; block = blocks[i]; i++) {
if (block.type == 'procedures_mutatorarg' &&

View File

@@ -377,7 +377,7 @@ suite('Procedures', function() {
clearVariables.call(this);
}, 'name');
});
test.skip('lower -> CAPS', function() {
test('lower -> CAPS', function() {
this.callForAllTypes(function() {
createMutator.call(this, ['arg']);
this.argBlock.setFieldValue('ARG', 'NAME');
@@ -386,7 +386,7 @@ suite('Procedures', function() {
clearVariables.call(this);
}, 'name');
});
test.skip('CAPS -> lower', function() {
test('CAPS -> lower', function() {
this.callForAllTypes(function() {
createMutator.call(this, ['ARG']);
this.argBlock.setFieldValue('arg', 'NAME');