testutil

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertCheckCode

func AssertCheckCode(t *testing.T, includeCode string, excludeCode string, results []rules.Result)

AssertCheckCode ...

func CreateTestFile

func CreateTestFile(source string, ext TestFileExt) string

CreateTestFile ...

Types

type TestFileExt

type TestFileExt string

TestFileExt ...

const (
	YamlTestFileExt TestFileExt = "yaml"
	JsonTestFileExt TestFileExt = "json"
)

YamlTestFileExt ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL