diff --git a/tests/testControlsClass.m b/tests/testControlsClass.m index bbb6fb18f..69fa3c1c7 100644 --- a/tests/testControlsClass.m +++ b/tests/testControlsClass.m @@ -74,8 +74,8 @@ function setResampleMinAngle(value) function testResampleNPoints(testCase) % test if set.resampleNPoints is working - testcase.controls.resampleNPoints = 10; - testcase.verifyEqual(testcase.controls.resampleNPoints, 10, 'set.resampleNPoints method is not working') + testCase.controls.resampleNPoints = 10; + testCase.verifyEqual(testcase.controls.resampleNPoints, 10, 'set.resampleNPoints method is not working') % bad option testCase.verifyError(@() setResampleNPoints('ab'), exceptions.invalidType.errorID); testCase.verifyError(@() setResampleNPoints(0.5), exceptions.invalidType.errorID);