package testutil
import "github.com/yuin/goldmark/testutil"
Index ¶
- func DoTestCase(m goldmark.Markdown, testCase MarkdownTestCase, t TestingT)
- func DoTestCaseFile(m goldmark.Markdown, filename string, t TestingT)
- func DoTestCases(m goldmark.Markdown, cases []MarkdownTestCase, t TestingT)
- type MarkdownTestCase
- type TestingT
Functions ¶
func DoTestCase ¶
func DoTestCase(m goldmark.Markdown, testCase MarkdownTestCase, t TestingT)
func DoTestCaseFile ¶
func DoTestCases ¶
func DoTestCases(m goldmark.Markdown, cases []MarkdownTestCase, t TestingT)
Types ¶
type MarkdownTestCase ¶
type TestingT ¶
type TestingT interface { Logf(string, ...interface{}) Skipf(string, ...interface{}) Errorf(string, ...interface{}) FailNow() }
TestingT is a subset of the functionality provided by testing.T.
Source Files ¶
- Version
- v1.1.5
- Published
- Nov 24, 2019
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 1 month ago –
Tools for package owners.