From 944fc8514ececda598080c7dd706a14c697d4e87 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Tue, 23 Aug 2022 13:46:20 -0400 Subject: [PATCH] Add correct output for face test case --- parser/parser_test.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/parser/parser_test.go b/parser/parser_test.go index ca4b7a0..a6b555a 100644 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -192,3 +192,21 @@ enum ro Weekday:Int wednesday `, 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) +}