test

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Store

func Store(t *testing.T, newStore func() archive.Store, opts ...StoreTestOption)

Store tests the archive.Store returned by newStore.

Types

type StoreTestOption

type StoreTestOption func(*storeTestConfig)

StoreTestOption is a test option.

func RoundTime

func RoundTime(d time.Duration) StoreTestOption

RoundTime returns an StoreTestOption that rounds time values before running assertions on them.

Jump to

Keyboard shortcuts

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