# Functions
Dir is a shortcut for creating a directory TarEntry structure (with tar.Typeflag set to tar.TypeDir).
FakeCommand adds a faked command.
Lnk is a shortcut for creating a symbolic link TarEntry structure (with tar.Typeflag set to tar.TypeSymlink).
No description provided by the author
No description provided by the author
No description provided by the author
PrefixEachLine indents each line in the provided string with the prefix.
Reg is a shortcut for creating a regular file TarEntry structure (with tar.Typeflag set tar.TypeReg).
Reindent deindents the provided string and replaces tabs with spaces so yaml inlined into tests works properly when decoded.
No description provided by the author
TreeDumpEntry the file information in the same format as [testutil.TreeDump].
# Variables
Contains is a Checker that looks for a elem in a container.
DeepContains is a Checker that looks for a elem in a container using DeepEqual.
FileAbsent verifies that the given file does not exist.
FileContains verifies that the given file's content contains the string (or fmt.Stringer) or []byte provided.
FileEquals verifies that the given file's content is equal to the string (or fmt.Stringer) or []byte provided.
FileMatches verifies that the given file's content matches the string provided.
FilePresent verifies that the given file exists.
IntEqual checker verifies that one integer is equal to other integer.
IntGreaterEqual checker verifies that one integer is greater than or equal to other integer.
IntGreaterThan checker verifies that one integer is greater than other integer.
IntLessEqual checker verifies that one integer is less than or equal to other integer.
IntLessThan checker verifies that one integer is less than other integer.
IntNotEqual checker verifies that one integer is not equal to other integer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
BaseTest is a structure used as a base test suite for many of the pebble tests.
FakeCmd allows faking commands for testing.
No description provided by the author
No description provided by the author