Documentation
¶
Index ¶
- func CheckLines(output []byte, checkers []LineChecker) error
- func RunLuaTest(source []byte, setup func(*runtime.Runtime)) error
- func RunLuaTestsInDir(t *testing.T, dirpath string, setup func(*runtime.Runtime))
- func RunSource(r *runtime.Runtime, source []byte)
- type LineChecker
- type LiteralLineChecker
- type RegexLineChecker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckLines ¶
func CheckLines(output []byte, checkers []LineChecker) error
func RunLuaTestsInDir ¶
Types ¶
type LineChecker ¶
func ExtractLineCheckers ¶
func ExtractLineCheckers(source []byte) []LineChecker
type LiteralLineChecker ¶
type LiteralLineChecker []byte
func (LiteralLineChecker) CheckLine ¶
func (c LiteralLineChecker) CheckLine(output []byte) error
type RegexLineChecker ¶
func (*RegexLineChecker) CheckLine ¶
func (c *RegexLineChecker) CheckLine(output []byte) error
Click to show internal directories.
Click to hide internal directories.