Search Apps Documentation Source Content File Folder Download Copy Actions Download

md_test.gno

0.25 Kb · 13 lines
 1package md
 2
 3import (
 4	"strings"
 5	"testing"
 6)
 7
 8func TestRender(t *testing.T) {
 9	output := Render("")
10	if !strings.Contains(output, "A simple, flexible, and easy-to-use library for creating markdown documents in gno.land") {
11		t.Errorf("invalid output")
12	}
13}