reverseassertion

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeAssertionLogic

func ChangeAssertionLogic(funcName string) string

ChangeAssertionLogic get gomega assertion function name, and returns the reverse logic function name

func ChangeCompareOperator added in v0.9.0

func ChangeCompareOperator(op token.Token) token.Token

ChangeCompareOperator return the reversed comparison operator

func IsNegativeLogic added in v0.10.0

func IsNegativeLogic(funcName string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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