From ed8b504ee9e43ca998291c7cf6887fe7386c3cd2 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 11 Dec 2022 03:34:01 +0100 Subject: [PATCH] fix indent --- tests/17_err-losing-variable.test | 4 ++-- tests/18_err-no-type-arg.test | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/17_err-losing-variable.test b/tests/17_err-losing-variable.test index 0436ae0..d876cfb 100644 --- a/tests/17_err-losing-variable.test +++ b/tests/17_err-losing-variable.test @@ -1,7 +1,7 @@ -int foo(int a) { +int foo (int a) { return a; } -void main() { +void main () { void b = foo(1); # Error on line 6 col 17: Expected int but given void. } diff --git a/tests/18_err-no-type-arg.test b/tests/18_err-no-type-arg.test index a391c2f..7bcf98c 100644 --- a/tests/18_err-no-type-arg.test +++ b/tests/18_err-no-type-arg.test @@ -1,3 +1,3 @@ -int main(a) { # Error on line 1 col 9: Syntax error. +int main (a) { # Error on line 1 col 9: Syntax error. return a; }