Module xpct::core

source ·
Expand description

Core types for the library.

This module contains everything that isn’t a matcher or formatter.

If you’re just writing tests and not writing custom matchers or formatters, you don’t need anything in this module.

Structs

Enums

  • A color to display in a terminal emulator.
  • An error from a matcher, meaning it either failed or returned an error.
  • The result of a failed matcher.
  • The outcome of a matcher, either Succcess or Fail.

Traits

Functions

  • Return a string of whitespace of the given length.

Type Definitions