Skip to content

Commit f0e5ab2

Browse files
HanSur94claude
andauthored
style(tests): fix MISS_HIT operator_after_continuation lint (#119)
Move trailing `&&` to end of previous line in tryCloseInfoModal teardown helper so MISS_HIT mh_style passes. CI MATLAB Lint job (run 25562812581) flagged this as `operator_after_continuation` after PR #118 merged. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 9ded679 commit f0e5ab2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/suite/TestDashboardInfo.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ function tryCloseInfoModal(d)
292292
% is still open. Tolerates already-closed handles and engines
293293
% without an InfoModalFigure_ field.
294294
try
295-
if isprop(d, 'InfoModalFigure_') && ~isempty(d.InfoModalFigure_) ...
296-
&& ishandle(d.InfoModalFigure_)
295+
if isprop(d, 'InfoModalFigure_') && ~isempty(d.InfoModalFigure_) && ...
296+
ishandle(d.InfoModalFigure_)
297297
delete(d.InfoModalFigure_);
298298
end
299299
catch

0 commit comments

Comments
 (0)