gocheck2

package
v0.0.0-...-117ddde Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2014 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Extensions to the go-check unittest framework.

NOTE: see https://github.com/go-check/check/pull/6 for reasons why these checkers live here.

Index

Constants

This section is empty.

Variables

View Source
var IsFalse Checker = &isBoolValueChecker{
	&CheckerInfo{Name: "IsFalse", Params: []string{"obtained"}},
	false,
}

The IsFalse checker verifies that the obtained value is false.

For example:

c.Assert(value, IsFalse)
View Source
var IsTrue Checker = &isBoolValueChecker{
	&CheckerInfo{Name: "IsTrue", Params: []string{"obtained"}},
	true,
}

The IsTrue checker verifies that the obtained value is true.

For example:

c.Assert(value, IsTrue)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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