1
0
mirror of https://github.com/helix-editor/helix synced 2026-07-29 11:50:02 +02:00
Files
Blaž Hrastnik cd6a852c9e Add indent corpus
This will be used by the cargo indent-check xtask to validate queries,
similar to the existing indent tests in helix-core.
2026-06-07 21:29:01 +09:00

21 lines
221 B
Matlab

function y = f(x)
if x > 0
y = 1;
elseif x < 0
y = -1;
else
y = 0;
end
switch y
case 1
disp('one');
otherwise
disp('other');
end
try
risky();
catch
y = 0;
end
end