Add correct output for face test case
This commit is contained in:
parent
cd55a0ad8d
commit
944fc8514e
@ -192,3 +192,21 @@ enum ro Weekday:Int
|
|||||||
wednesday
|
wednesday
|
||||||
`, test)
|
`, test)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func Test (test *testing.T) {
|
||||||
|
checkTree ("../tests/parser/face",
|
||||||
|
`:arf
|
||||||
|
---
|
||||||
|
face ro Destroyer
|
||||||
|
destroy
|
||||||
|
face ro ReadWriter
|
||||||
|
read
|
||||||
|
> into:{Byte ..}
|
||||||
|
< read:Int
|
||||||
|
< err:Error
|
||||||
|
write
|
||||||
|
> data:{Byte ..}
|
||||||
|
< wrote:Int
|
||||||
|
< err:Error
|
||||||
|
`, test)
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user