Movatterモバイル変換


[0]ホーム

URL:


testutil

package
v0.24.0Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License:Apache-2.0Imports:5Imported by:0

Details

Repository

github.com/caddyserver/certmagic

Links

README

testutil

some testing functions copied out of github.com/stretchr/testify, which were originally used by atomicfile

MIT LicenseCopyright (c) 2012-2020 Mat Ryer, Tyler Bunnell and contributors.Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcAssertEqual

func AssertEqual(t *testing.T, a, bany, msgAndArgs ...string)

funcAssertNoError

func AssertNoError(t *testing.T, errerror, msgAndArgs ...string)

funcFail

func Fail(ttesting.TB, xsstring, msgs ...string)

funcFailnow

func Failnow(ttesting.TB, xsstring, msgs ...string)

funcObjectsAreEqual

func ObjectsAreEqual(expected, actualany)bool

funcObjectsAreEqualValues

func ObjectsAreEqualValues(expected, actualany)bool

funcRequireEqual

func RequireEqual(t *testing.T, a, bany, msgAndArgs ...string)

funcRequireEqualValues

func RequireEqualValues(t *testing.T, a, bany, msgAndArgs ...string)

funcRequireError

func RequireError(t *testing.T, errerror, msgAndArgs ...string)

funcRequireNoError

func RequireNoError(t *testing.T, errerror, msgAndArgs ...string)

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp