From 4372b49024e82e889eb2073c37fbcc1dada05723 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 20 Apr 2026 14:16:04 +0200 Subject: feat(go): run tests --- go/typdown_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 go/typdown_test.go (limited to 'go/typdown_test.go') diff --git a/go/typdown_test.go b/go/typdown_test.go new file mode 100644 index 0000000..c1d8985 --- /dev/null +++ b/go/typdown_test.go @@ -0,0 +1,13 @@ +package typdown + +import "testing" + +func TestParse(t *testing.T) { + res, err := Parse("hello world") + if err != nil { + t.Fatal(err) + } + if res != `

hello world

` { + t.Errorf("invalid result: %s", res) + } +} -- cgit v1.2.3