testutil

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertDefsecEqual

func AssertDefsecEqual(t *testing.T, expected, 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

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