diff options
Diffstat (limited to 'src/test/fixtures/error.rs')
| -rw-r--r-- | src/test/fixtures/error.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/fixtures/error.rs b/src/test/fixtures/error.rs deleted file mode 100644 index 559afee..0000000 --- a/src/test/fixtures/error.rs +++ /dev/null @@ -1,14 +0,0 @@ -macro_rules! expected { - ($expr:expr, $expect:pat $(,)?) => { - $crate::test::fixtures::error::expected!($expr, $expect, ()) - }; - - ($expr:expr, $expect:pat, $body:expr $(,)?) => { - match $expr { - $expect => $body, - other => panic!("expected {}, found {other:#?}", stringify!($expect)), - } - }; -} - -pub(crate) use expected; |
