logtest

package
v2.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package logtest is a helper for validating logging tests.

To update conformance tests in this package run `go test -update_golden`

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffTest

func DiffTest(t *testing.T, tempFile, goldenFile string)

DiffTest is a test helper, testing got against contents of a goldenFile.

Types

This section is empty.

Jump to

Keyboard shortcuts

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