internal

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S

type S struct {
	// contains filtered or unexported fields
}

S contains a testing type T.

func Spec

func Spec(t *testing.T) *S

Spec returns a base testing structure.

func (*S) Expect

func (s *S) Expect(expected ...interface{}) *SR

Expect returns the exected result.

type SR

type SR struct {
	// contains filtered or unexported fields
}

SR contains a testing type T and the expected result.

func (*SR) ToEqual

func (sr *SR) ToEqual(actuals ...interface{})

ToEqual tests for equality between actuals and expected.

func (*SR) ToNotEqual

func (sr *SR) ToNotEqual(actuals ...interface{})

ToNotEqual tests for inequality between actuals and expected.

Jump to

Keyboard shortcuts

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