mirror of
https://github.com/google/blockly.git
synced 2026-01-11 19:07:08 +01:00
chore: fix typo (#3736)
This commit is contained in:
@@ -327,7 +327,7 @@ function test_procedureEnableDisableInteractions() {
|
||||
|
||||
assertTrue('Callers are disabled when their definition is disabled.',
|
||||
barCalls[0].disabled && barCalls[1].disabled);
|
||||
assertTrue('Callers in definitions are disabled by inheritence.',
|
||||
assertTrue('Callers in definitions are disabled by inheritance.',
|
||||
!fooCalls[0].disabled && fooCalls[0].getInheritedDisabled());
|
||||
|
||||
fooDef.setEnabled(false);
|
||||
@@ -340,7 +340,7 @@ function test_procedureEnableDisableInteractions() {
|
||||
assertTrue('Callers are reenabled with their definition',
|
||||
!barCalls[0].disabled && !barCalls[0].disabled);
|
||||
|
||||
assertTrue('Nested disabled callers remain disabled, not by inheritence.',
|
||||
assertTrue('Nested disabled callers remain disabled, not by inheritance.',
|
||||
fooCalls[0].disabled && !fooCalls[0].getInheritedDisabled());
|
||||
|
||||
bazDef.setEnabled(false);
|
||||
@@ -348,7 +348,7 @@ function test_procedureEnableDisableInteractions() {
|
||||
assertTrue('Caller is disabled with its definition',
|
||||
bazCall.disabled);
|
||||
|
||||
assertTrue('Caller in the return is disabled by inheritence.',
|
||||
assertTrue('Caller in the return is disabled by inheritance.',
|
||||
!barCalls[1].disabled && barCalls[1].getInheritedDisabled());
|
||||
|
||||
barDef.setEnabled(false);
|
||||
@@ -357,7 +357,7 @@ function test_procedureEnableDisableInteractions() {
|
||||
|
||||
bazDef.setEnabled(true);
|
||||
|
||||
assertTrue('Caller in the return remains disabled, not by inheritence.',
|
||||
assertTrue('Caller in the return remains disabled, not by inheritance.',
|
||||
barCalls[1].disabled && !barCalls[1].getInheritedDisabled());
|
||||
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user