filtertest

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package filtertest provides utilities to test filter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(t *testing.T, f filter.Factory, p filter.Params, in, want string)

Check checks a filter working or not.

func Fail added in v1.14.0

func Fail(t *testing.T, f filter.Factory, p filter.Params, in, wantErr string)

Fail checks the filter.Factory will be failed

Types

This section is empty.

Jump to

Keyboard shortcuts

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