Skip to main content
Class representing the contents of a return by an assertion.

Initializers

import "github.com/open-constructs/cdk-terrain-go/cdktn/testingmatchers"

testingmatchers.NewAssertionReturn(message *string, pass *bool) AssertionReturn
NameTypeDescription
message*string- String message containing information about the result of the assertion.
pass*bool- Boolean pass denoting the success of the assertion.

messageRequired

  • Type: *string
String message containing information about the result of the assertion.

passRequired

  • Type: *bool
Boolean pass denoting the success of the assertion.

Properties

NameTypeDescription
Message*string- String message containing information about the result of the assertion.
Pass*bool- Boolean pass denoting the success of the assertion.

MessageRequired

func Message() *string
  • Type: *string
String message containing information about the result of the assertion.

PassRequired

func Pass() *bool
  • Type: *bool
Boolean pass denoting the success of the assertion.