Crate sval_test

Source
Expand description

Test utilities for sval.

Structs§

TokenBuf
A buffer for collecting test tokens.

Enums§

Token
A token representing a specific call to an sval::Stream method.

Functions§

assert_invalid
Assert that a value fails to stream.
assert_tokens
Assert that a value streams to exactly the sequence of tokens provided.
assert_valid
Assert that a value streams without failing.