
The highest tagged major version is
v2.
package
Version:
v0.1.10
Opens a new window with list of versions in this module.
Published: Feb 27, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package testutil wraps basic tools when building goalng test cases.
-
func Assert(tb TB, condition bool, fmt string, a ...interface{})
-
func Equals(tb TB, exp, act interface{})
-
func NewHTTPServer(t *testing.T, opt *HTTPServerOptions)
-
func NotOk(tb TB, err error, fmt string, a ...interface{})
-
func Ok(tb TB, err error)
-
type HTTPServerOptions
-
type TB
func Assert(tb TB, condition bool, fmt string, a ...interface{})
func Equals(tb TB, exp, act interface{})
type TB interface {
Helper()
Fatalf(string, ...interface{})
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.