diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-20 14:16:04 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-20 14:16:04 +0200 |
| commit | 4372b49024e82e889eb2073c37fbcc1dada05723 (patch) | |
| tree | 22e3e390610904ccbbddca99c73c1c586a2e63c1 /go/typdown_test.go | |
| parent | 87046ba0fc5b9c3be61d23bd8cc2bc6fa84577ba (diff) | |
feat(go): run tests
Diffstat (limited to 'go/typdown_test.go')
| -rw-r--r-- | go/typdown_test.go | 13 |
1 files changed, 13 insertions, 0 deletions
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 != `<p>hello world</p>` { + t.Errorf("invalid result: %s", res) + } +} |
