summaryrefslogtreecommitdiff
path: root/src/test/fixtures/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fixtures/error.rs')
-rw-r--r--src/test/fixtures/error.rs14
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;