Modules§
Macros§
- assert_
diagnostic - Assert that the given diagnostic/error value, when rendered to stdout, contains the given pattern
- assert_
diagnostic_ lines - Like assert_diagnostic, but matches each non-empty line of the rendered output to a corresponding pattern.
- parse_
module - regex
- Create a Pattern::Regex from the given input
- source_
file - Construct an
::alloc::sync::Arc<miden_core::debuginfo::SourceFile>from a string literal or expression, such that emitted diagnostics reference the file and line on which the source file was constructed.
Structs§
- Test
Context - A TestContext provides common functionality for all tests which interact with an Assembler.
Enums§
- Pattern
- Represents a pattern for matching text abstractly for use in asserting contents of complex diagnostics