diff

package
v0.62.1 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintWantGot

func PrintWantGot(diff string) string

PrintWantGot takes a diff string generated by cmp.Diff and returns it in a consistent format for reuse across all of our tests. This func assumes that the order of arguments passed to cmp.Diff was (want, got) or, in other words, the expectedResult then the actualResult.

Types

This section is empty.

Jump to

Keyboard shortcuts

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