Documentation
¶
Index ¶
Constants ¶
View Source
const ImportedLocation = common.StringLocation("imported")
ImportedLocation is used as the default location for imported programs in tests.
View Source
const TestLocation = common.StringLocation("test")
TestLocation is used as the default location for programs in tests.
Variables ¶
This section is empty.
Functions ¶
func AssertEqualWithDiff ¶
AssertEqualWithDiff asserts that two objects are equal.
If the objects are not equal, this function prints a human-readable diff.
func RequireError ¶
RequireError is a wrapper around require.Error which also ensures that the error message, the secondary message (if any), and the error notes' (if any) messages can be successfully produced
Types ¶
type GlobalTypeGetter ¶ added in v1.5.0
type Invokable ¶ added in v1.5.0
type Invokable interface {
interpreter.ValueComparisonContext
interpreter.InvocationContext
interpreter.ResourceDestructionContext
Invoke(functionName string, arguments ...interpreter.Value) (value interpreter.Value, err error)
InvokeTransaction(arguments []interpreter.Value, signers ...interpreter.Value) error
GetGlobal(name string) interpreter.Value
GlobalTypeGetter
}
Click to show internal directories.
Click to hide internal directories.