Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/mbe/src/tests/expand.rs')
-rw-r--r--crates/mbe/src/tests/expand.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/crates/mbe/src/tests/expand.rs b/crates/mbe/src/tests/expand.rs
index 8a23a0be53..3380e01fbc 100644
--- a/crates/mbe/src/tests/expand.rs
+++ b/crates/mbe/src/tests/expand.rs
@@ -96,26 +96,3 @@ fn test_attr_to_token_tree() {
Some(tt::DelimiterKind::Bracket)
);
}
-
-#[test]
-fn test_expand_bad_literal() {
- parse_macro(
- r#"
- macro_rules! foo { ($i:literal) => {}; }
- "#,
- )
- .assert_expand_err(r#"foo!(&k");"#, &ExpandError::BindingError("".into()));
-}
-
-#[test]
-fn test_empty_comments() {
- parse_macro(
- r#"
- macro_rules! one_arg_macro { ($fmt:expr) => (); }
- "#,
- )
- .assert_expand_err(
- r#"one_arg_macro!(/**/)"#,
- &ExpandError::BindingError("expected Expr".into()),
- );
-}