Changed data in object test to use objt keyword instead of type

This commit is contained in:
Sasha Koshka 2022-08-20 13:46:10 -04:00
parent 617d76fc46
commit 5271876196
1 changed files with 3 additions and 3 deletions

View File

@ -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)