rest-layer: Index | Files

package testutil

import ""


Package Files


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.