hugo: github.com/gohugoio/hugo/htesting/hqt Index | Files

package hqt

import "github.com/gohugoio/hugo/htesting/hqt"

Index

Package Files

checkers.go

Variables

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.

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

IsSameType asserts that got is the same type as want.

func DeepAllowUnexported Uses

func DeepAllowUnexported(vs ...interface{}) 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

Package hqt imports 8 packages (graph). Updated 2020-05-31. Refresh now. Tools for package owners.