gomegamatchers

package module
v0.0.0-...-e36bfcc Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

README

gomegamatchers


This repository contains custom gomega matchers.

Running the tests

ginkgo .

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeAnOsIsNotExistError

func BeAnOsIsNotExistError() types.GomegaMatcher

func ContainSequence

func ContainSequence(expected interface{}) types.GomegaMatcher

func HelpfullyMatchYAML

func HelpfullyMatchYAML(expected interface{}) types.GomegaMatcher

Types

type HelpfullyMatchYAMLMatcher

type HelpfullyMatchYAMLMatcher struct {
	YAMLToMatch interface{}
}

func (*HelpfullyMatchYAMLMatcher) FailureMessage

func (matcher *HelpfullyMatchYAMLMatcher) FailureMessage(actual interface{}) (message string)

func (*HelpfullyMatchYAMLMatcher) Match

func (matcher *HelpfullyMatchYAMLMatcher) Match(actual interface{}) (success bool, err error)

func (*HelpfullyMatchYAMLMatcher) NegatedFailureMessage

func (matcher *HelpfullyMatchYAMLMatcher) NegatedFailureMessage(actual interface{}) (message string)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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