File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 varargout = varargin ;
5050 end
5151
52- function output = test_linebreak_with_continuation_operator(input )
52+ function output = test_linebreak_with_continuation_operator(inputarg )
5353 % TEST_LINEBREAK_WITH_CONTINUATION_OPERATOR is a test to verify
5454 % line continuation operator
55- % INPUT , OUTPUT
55+ % INPUTARG , OUTPUT
5656
5757 assignment_at_first_line = ...
58- input ;
58+ inputarg ;
5959
6060 assignment_at_second_line = ... some comment
6161 assignment_at_first_line ;
6262
6363 output = .... 4 dots give also comment
6464 assignment_at_second_line ;
6565 end
66+
67+ function test_switch_case(inputarg )
68+ % TEST_SWITCH_CASE test indentation of switch case
69+ % INPUTARG
70+ % Some more comments to make the checker happy
71+
72+ switch inputarg
73+ case 1
74+ return
75+ case 2
76+ return
77+ otherwise
78+ return
79+ end
80+ end
6681 end
6782end
You can’t perform that action at this time.
0 commit comments