testlib

package
v2.0.0-...-b084466 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireContainsMapSubset

func RequireContainsMapSubset(t *testing.T, m map[string]interface{}, subset map[string]interface{})

RequireContainsMapSubset requires that the given map m contains the given subset map keys and values.

Types

type MockSpan

type MockSpan struct {
	Tags     map[string]interface{}
	Finished bool
}

func (*MockSpan) SetTag

func (m *MockSpan) SetTag(key string, value interface{})

Jump to

Keyboard shortcuts

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