function

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Assert_contains_lookup_Name = "assert"
View Source
const Assert_ends_with_lookup_Name = "assert"
View Source
const Assert_equal_lookup_Name = "assert"
View Source
const Assert_false_lookup_Name = "assert"
View Source
const Assert_lookup_Name = "assert"
View Source
const Assert_match_lookup_Name = "assert"
View Source
const Assert_not_contains_lookup_Name = "assert"
View Source
const Assert_not_equal_lookup_Name = "assert"
View Source
const Assert_not_match_lookup_Name = "assert"
View Source
const Assert_not_strict_equal_lookup_Name = "assert"
View Source
const Assert_starts_with_lookup_Name = "assert"
View Source
const Assert_strict_equal_lookup_Name = "assert"
View Source
const Assert_true_lookup_Name = "assert"
View Source
const Testing_call_subroutine_lookup_Name = "assert"

Variables

View Source
var Assert_contains_lookup_ArgumentTypes = []value.Type{value.StringType, value.StringType}
View Source
var Assert_ends_with_lookup_ArgumentTypes = []value.Type{value.StringType, value.StringType}
View Source
var Assert_lookup_ArgumentTypes = []value.Type{value.BooleanType}
View Source
var Assert_match_lookup_ArgumentTypes = []value.Type{value.StringType, value.StringType}
View Source
var Assert_not_contains_lookup_ArgumentTypes = []value.Type{value.StringType, value.StringType}
View Source
var Assert_not_match_lookup_ArgumentTypes = []value.Type{value.StringType, value.StringType}
View Source
var Assert_starts_with_lookup_ArgumentTypes = []value.Type{value.StringType, value.StringType}
View Source
var Testing_call_subroutine_lookup_ArgumentTypes = []value.Type{value.StringType}

Functions

func Assert

func Assert(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_contains

func Assert_contains(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_contains_lookup_Validate

func Assert_contains_lookup_Validate(args []value.Value) error

func Assert_ends_with

func Assert_ends_with(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_ends_with_lookup_Validate

func Assert_ends_with_lookup_Validate(args []value.Value) error

func Assert_equal

func Assert_equal(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_equal_lookup_Validate

func Assert_equal_lookup_Validate(args []value.Value) error

func Assert_false

func Assert_false(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_false_lookup_Validate

func Assert_false_lookup_Validate(args []value.Value) error

func Assert_lookup_Validate

func Assert_lookup_Validate(args []value.Value) error

func Assert_match

func Assert_match(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_match_lookup_Validate

func Assert_match_lookup_Validate(args []value.Value) error

func Assert_not_contains

func Assert_not_contains(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_not_contains_lookup_Validate

func Assert_not_contains_lookup_Validate(args []value.Value) error

func Assert_not_equal

func Assert_not_equal(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_not_equal_lookup_Validate

func Assert_not_equal_lookup_Validate(args []value.Value) error

func Assert_not_match

func Assert_not_match(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_not_match_lookup_Validate

func Assert_not_match_lookup_Validate(args []value.Value) error

func Assert_not_strict_equal

func Assert_not_strict_equal(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_not_strict_equal_lookup_Validate

func Assert_not_strict_equal_lookup_Validate(args []value.Value) error

func Assert_starts_with

func Assert_starts_with(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_starts_with_lookup_Validate

func Assert_starts_with_lookup_Validate(args []value.Value) error

func Assert_strict_equal

func Assert_strict_equal(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_strict_equal_lookup_Validate

func Assert_strict_equal_lookup_Validate(args []value.Value) error

func Assert_true

func Assert_true(ctx *context.Context, args ...value.Value) (value.Value, error)

func Assert_true_lookup_Validate

func Assert_true_lookup_Validate(args []value.Value) error

func TestingFunctions

func TestingFunctions(i *interpreter.Interpreter, c Counter) map[string]*ifn.Function

nolint: funlen,gocognit

func Testing_call_subroutine

func Testing_call_subroutine(
	ctx *context.Context,
	i *interpreter.Interpreter,
	args ...value.Value,
) (value.Value, error)

func Testing_call_subroutine_lookup_Validate

func Testing_call_subroutine_lookup_Validate(args []value.Value) error

Types

type Counter

type Counter interface {
	Pass()
	Fail()
}

Jump to

Keyboard shortcuts

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