testutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package testutil provides helper functions for writing tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffJSON

func DiffJSON(x, y string) string

DiffJSON compares two JSON strings and returns a diff string highlighting the differences. Invalid whitespace within JSON strings is removed before comparison.

Types

This section is empty.

Jump to

Keyboard shortcuts

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