testing

package
v0.0.0-...-bc61d28 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateRegularExpression

func ValidateRegularExpression(t *testing.T, expression *regexp.Regexp, testCases map[string]bool)

ValidateRegularExpression ensures that the provided regular expression matches the expected results for the given test cases. Each key in the testCases is tested against the expression, and the result must match the value in the map of testcases.

Types

This section is empty.

Jump to

Keyboard shortcuts

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