From 9dce9b2f758d8e2384eb04ab5c3accc13af22b68 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 19 Aug 2022 03:05:25 -0400 Subject: [PATCH] Fixed test formatting --- parser/parser_test.go | 8 +++++--- tests/parser/type/main.arf | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/parser/parser_test.go b/parser/parser_test.go index 571d288..855dcad 100644 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -116,9 +116,6 @@ func TestType (test *testing.T) { --- type ro Basic:Int type ro BasicInit:Int 6 -type ro IntArray:{Int ..} -type ro IntArrayInit:{Int 3} - 3298 923 92 type ro Complex:Obj ro that:Basic ro this:Basic @@ -133,6 +130,11 @@ type ro ComplexWithComplexInit ro complex1:Complex .that 98902 .this 235 +type ro IntArray:{Int ..} +type ro IntArrayInit:{Int 3} + 3298 + 923 + 92 `, test) } diff --git a/tests/parser/type/main.arf b/tests/parser/type/main.arf index b4085bb..b93fc54 100644 --- a/tests/parser/type/main.arf +++ b/tests/parser/type/main.arf @@ -17,7 +17,7 @@ type ro ComplexInit:Obj ro that:BasicInit ro this:Basic 23 -type ro ComplexWithComplexInit +type ro ComplexWithComplexInit:Obj ro complex0:Complex .that 98 .this 2