smithytesting

package
v0.0.0-...-da31dff Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XMLEqual

func XMLEqual(expectBytes, actualBytes []byte) error

XMLEqual asserts two XML documents by sorting the XML and comparing the strings It returns an error in case of mismatch or in case of malformed XML found while sorting. In case of mismatched XML, the error string will contain the diff between the two XML documents.

Types

This section is empty.

Directories

Path Synopsis
Package xml is XML testing package that supports XML comparison utility.
Package xml is XML testing package that supports XML comparison utility.

Jump to

Keyboard shortcuts

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