package testutils

import "github.com/input-output-hk/catalyst-forge/lib/blueprint/internal/testutils"

Index

Functions

func CheckError

func CheckError(t *testing.T, err error, expected bool, expectedErr error) (bool, error)

CheckError checks if the error is expected or not. If the error is unexpected, it returns an error. If the function returns true, the test should return immediately.

Source Files

helpers.go

Version
v0.0.0-20240928203643-c3373f0052b9 (latest)
Published
Sep 28, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
2 days ago

Tools for package owners.