diff --git a/tests/workspace_svg/procedure_svg_test.js b/tests/workspace_svg/procedure_svg_test.js index 730deb22c..1c27245d4 100644 --- a/tests/workspace_svg/procedure_svg_test.js +++ b/tests/workspace_svg/procedure_svg_test.js @@ -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 {