mirror of
https://github.com/google/blockly.git
synced 2026-01-14 20:37:10 +01:00
Reenabled parameter case tests.
This commit is contained in:
@@ -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' &&
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user