rest-layer: github.com/rs/rest-layer/internal/testutil Index | Files

package testutil

import "github.com/rs/rest-layer/internal/testutil"

Index

Package Files

json_eq.go

func JSONEq Uses

func JSONEq(t testing.TB, expect, actual []byte) bool

JSONEq logs an error to t if expect and actual does not contain equivalent JSON structures, or if either results in a JSON unmarshal error. Returns true if no error was logged.

Package testutil imports 3 packages (graph). Updated 2018-05-05. Refresh now. Tools for package owners.