Changed data in object test to use objt keyword instead of type
This commit is contained in:
parent
617d76fc46
commit
5271876196
@ -127,10 +127,10 @@ func TestObjt (test *testing.T) {
|
|||||||
checkTree ("../tests/parser/objt",
|
checkTree ("../tests/parser/objt",
|
||||||
`:arf
|
`:arf
|
||||||
---
|
---
|
||||||
type ro Basic:Obj
|
objt ro Basic:Obj
|
||||||
ro that:Basic
|
ro that:Basic
|
||||||
ro this:Basic
|
ro this:Basic
|
||||||
type ro ComplexInit:Obj
|
objt ro ComplexInit:Obj
|
||||||
ro basic:Int 87
|
ro basic:Int 87
|
||||||
ro complex0:Bird
|
ro complex0:Bird
|
||||||
.that 98
|
.that 98
|
||||||
@ -142,7 +142,7 @@ type ro ComplexInit:Obj
|
|||||||
230984
|
230984
|
||||||
849
|
849
|
||||||
394580
|
394580
|
||||||
type ro Init:Obj
|
objt ro Init:Obj
|
||||||
ro that:String "hello world"
|
ro that:String "hello world"
|
||||||
ro this:Int
|
ro this:Int
|
||||||
`, test)
|
`, test)
|
||||||
|
Reference in New Issue
Block a user