func ReadFilesWithTests(path string) ([]string, error) {
	files, err := getTestFiles(path)
	if err != nil {
		return nil, fmt.Errorf("search rego test files: %w", err)
	}

	return files, nil
}
// ReadFilesWithTests returns all of the policies and test files
// at the given path including its subdirectories.
// Test files are Rego files that have a suffix of _test.rego
ReadFilesWithTests returns all of the policies and test files
at the given path including its subdirectories.
Test files are Rego files that have a suffix of _test.rego
// ReadFilesWithTests returns all of the policies and test files // at the given path including its subdirectories . // Test files are Rego files that have a suffix of _test . rego
func ReadFilesWithTests(path string) ([]string, error) {
	files, err := getTestFiles(path)
	if err != nil {
		return nil, fmt.Errorf("search rego test files: %w", err)
	}
	return files, nil
}
func ReadFilesWithTests ( path string ) ( [ ] string , error ) { files , err := getTestFiles ( path ) if err != nil { return nil , fmt . Errorf ( " " , err ) } return files , nil }
ReadFilesWithTests returns all of the policies and test files
at the given path including its subdirectories.
ReadFilesWithTests returns all of the policies and test files at the given path including its subdirectories .