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