Fixed the object section test
This commit is contained in:
parent
cb2264977a
commit
c847d2187d
@ -123,7 +123,7 @@ type ro IntArrayInit:{Int 3}
|
||||
`, test)
|
||||
}
|
||||
|
||||
func TestType (test *testing.T) {
|
||||
func TestObjt (test *testing.T) {
|
||||
checkTree ("../tests/parser/objt",
|
||||
`:arf
|
||||
---
|
||||
@ -144,7 +144,7 @@ type ro ComplexInit:Obj
|
||||
394580
|
||||
type ro Init:Obj
|
||||
ro that:String "hello world"
|
||||
ro this:Int
|
||||
ro this:Int
|
||||
`, test)
|
||||
}
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
:arf
|
||||
---
|
||||
type ro Basic:Obj
|
||||
objt ro Basic:Obj
|
||||
ro that:Basic
|
||||
ro this:Basic
|
||||
|
||||
type ro Init:Obj
|
||||
objt ro Init:Obj
|
||||
ro that:String "hello world"
|
||||
ro this:Int 23
|
||||
|
||||
type ro ComplexInit:Obj
|
||||
objt ro ComplexInit:Obj
|
||||
ro whatever:{Int 3}
|
||||
230984
|
||||
849 394580
|
||||
|
Reference in New Issue
Block a user