testutil

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package testutil Copyright (c) 2023 Erich Gatejen LICENSE

Utilities for tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestAssertValue

func TestAssertValue(t *testing.T, err error, left, right any)

Types

type ScanPack

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

func NewScanPack

func NewScanPack(t string, err error) (*ScanPack, error)

func (*ScanPack) Seek

func (sp *ScanPack) Seek(text string) int

func (*ScanPack) Seeks

func (sp *ScanPack) Seeks(texts ...string) int

Jump to

Keyboard shortcuts

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