package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Dec 8, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AppendJSON check a value implementing njson.Appender interface.
Unmarshal is a test case for an njson.Unmarshaler
type Option interface {
}
Option is a test case option.
func Error(err interface{}) Option
Error sets an error to expect
func JSON(x interface{}) Option
JSON sets JSON data for the test case.
Method sets a custom method name for the test case.
func Value(x interface{}) Option
T is a test case for njson.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.