testutil

package
v0.94.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDefsecEqual added in v0.29.0

func AssertDefsecEqual(t *testing.T, expected interface{}, actual interface{})

func AssertRuleFound

func AssertRuleFound(t *testing.T, ruleID string, results scan.Results, message string, args ...interface{})

func AssertRuleNotFound

func AssertRuleNotFound(t *testing.T, ruleID string, results scan.Results, message string, args ...interface{})

func CreateFS added in v0.29.0

func CreateFS(t *testing.T, files map[string]string) fs.FS

Types

This section is empty.

Jump to

Keyboard shortcuts

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