Skip to content

Commit 84040c1

Browse files
committed
Close all figures at teardown.
1 parent db2dc98 commit 84040c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/exampleTests.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ function runExampleScript(~, exName)
1010
run(exName);
1111
end
1212
end
13+
14+
methods (TestMethodTeardown)
15+
function closeFigures(~)
16+
close all;
17+
end
18+
end
1319
end

0 commit comments

Comments
 (0)