package compare
import "gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare"
Index ¶
- Variables
- func Assert(t *testing.T, expected, actual interface{})
- func AssertFalse(t *testing.T, expected, actual interface{})
- func AssertPrecision(t *testing.T, expected, actual interface{}, precision float64)
- func AssertPrecisionFalse(t *testing.T, expected, actual interface{}, precision float64)
- func Compare(expected, actual interface{}) (bool, string)
- func ComparePrecision(expected, actual interface{}, precision float64) (bool, string)
- type Expected
- func PartialMatch(v interface{}) Expected
- func UnorderedMatch(v interface{}) Expected
- func (expected Expected) SetOrdered(ordered bool) Expected
- func (expected Expected) SetPartial(partial bool) Expected
- type Regex
Variables ¶
var AnythingIsFine = "reql_test.AnythingIsFine"
Functions ¶
func Assert ¶
func AssertFalse ¶
func AssertPrecision ¶
func AssertPrecisionFalse ¶
func Compare ¶
func ComparePrecision ¶
Types ¶
type Expected ¶
func PartialMatch ¶
func PartialMatch(v interface{}) Expected
func UnorderedMatch ¶
func UnorderedMatch(v interface{}) Expected
func (Expected) SetOrdered ¶
func (Expected) SetPartial ¶
type Regex ¶
type Regex string
func IsUUID ¶
func IsUUID() Regex
func MatchesRegexp ¶
Source Files ¶
compare.go expected.go
- Version
- v6.1.0
- Published
- Mar 9, 2020
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 1 day ago –
Tools for package owners.