package logtest

import "github.com/googleapis/gax-go/v2/internallog/internal/logtest"

Package logtest is a helper for validating logging tests.

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

Index

Functions

func DiffTest

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

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

Source Files

logtest.go

Version
v2.14.1 (latest)
Published
Dec 20, 2024
Platform
linux/amd64
Imports
7 packages
Last checked
11 hours ago

Tools for package owners.