diff --git a/tests/testExamples.m b/tests/testExamples.m index 20d6c95df..03c9cad99 100644 --- a/tests/testExamples.m +++ b/tests/testExamples.m @@ -138,7 +138,7 @@ function testWriteScript(testCase, exampleScriptFile) % closes all the figures generated by the examples close all; - % Write the script + % Write the script using a deep copy of the project clonedProblem = problem.clone(); testCase.verifyNotEqual(clonedProblem, problem); clonedProblem.writeScript(objName="scriptProblem", script="projectScript");