commit 1dba69e7a4c6bfcc2ba87757fb046799d030bf6e
parent da96a44882f7fa364273245be61783fbb4748df1
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 16 Apr 2021 08:28:15 -0400
hare::parse+test: make expr.ha consistent
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/hare/parse/+test/expr.ha b/hare/parse/+test/expr.ha
@@ -7,11 +7,10 @@
};
@test fn call() void = {
- roundtrip("export fn main() void = test();
-export fn main() void = test(void, void, void);
-export fn main() void = test(void, void, void...);
-export fn main() void = test()()(void);
-");
+ roundtrip("export fn main() void = test();\n"
+ "export fn main() void = test(void, void, void);\n"
+ "export fn main() void = test(void, void, void...);\n"
+ "export fn main() void = test()()(void);\n");
};
@test fn cast() void = {