Expand description
Copy of expect-test, a minimalistic snapshot testing library, for bytes and binary data.
§Example
let actual = b"example\n";
expect_test_bytes::expect_file!["test_data/example"].assert_eq(actual);Macros§
- expect
- Creates an instance of
Expectfrom an expression returning bytes: - expect_
file - Creates an instance of
ExpectFilefrom a relative or absolute path:
Structs§
- Expect
- Bytes.
- Expect
File - Self-updating file.
- Position
- Position of original
expect!in the source file.