dochelper

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConsistentJsonBytes

func ConsistentJsonBytes(b []byte) []byte

ConsistentJsonBytes makes sure that the blob byte comparison does not differ due to whitespace in testing definitions.

func DocEqualWithTimestamp

func DocEqualWithTimestamp(gotDoc, wantDoc *processor.Document) (bool, error)

func DocNode

func DocTreeEqual

func DocTreeEqual(a, b processor.DocumentTree) bool

func StringTree

func StringTree(n *processor.DocumentNode) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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