hqt

package
v0.0.0-...-42d6f5d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsSameString qt.Checker = &stringChecker{
	argNames: []string{"got", "want"},
}

IsSameString asserts that two strings are equal. The two strings are normalized (whitespace removed) before doing a ==. Also note that two strings can be the same even if they're of different types.

View Source
var IsSameType qt.Checker = &typeChecker{
	argNames: []string{"got", "want"},
}

IsSameType asserts that got is the same type as want.

Functions

func DeepAllowUnexported

func DeepAllowUnexported(vs ...any) cmp.Option

DeepAllowUnexported creates an option to allow compare of unexported types in the given list of types. see https://github.com/google/go-cmp/issues/40#issuecomment-328615283

Types

This section is empty.

Jump to

Keyboard shortcuts

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