Skip to content

Commit e113511

Browse files
committed
Examples must run warning-free.
1 parent 281a30c commit e113511

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/exampleTests.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
end
77

88
methods (Test, TestTags = {'bdConnected'})
9-
function runExampleScript(~, exName)
10-
run(exName);
9+
function runExampleScript(testCase, exName)
10+
testCase.verifyWarningFree(@() run(exName));
1111
end
1212
end
1313

@@ -16,4 +16,4 @@ function closeFigures(~)
1616
close all;
1717
end
1818
end
19-
end
19+
end

0 commit comments

Comments
 (0)