Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KuronoSangatsu7 committed May 11, 2023
1 parent b474d25 commit 1192810
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ routine fib (x : integer) : integer is
if (x = 0) or (x = 1) then
return 1;
end
return fib(x-1) + fib(x-2);
return fib(x - 1) + fib(x - 2);
end

routine main () : integer is
Expand Down
2 changes: 1 addition & 1 deletion tests/inputs/components/array/access_array.crbc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
routine main () : integer is
var ar : array [5] integer;
for i in 0 .. 5 loop
ar[i] = i;
ar[i] := i;
end
for i in 0 .. 5 loop
print(ar[i]);
Expand Down
2 changes: 1 addition & 1 deletion tests/inputs/components/block/empty.crbc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
routine DoNothing () is
routine DoNothing (): integer is
//empty
return 0;
end
Expand Down

0 comments on commit 1192810

Please sign in to comment.