aboutsummaryrefslogtreecommitdiff
path: root/syn/tests/test_pat.rs
diff options
context:
space:
mode:
Diffstat (limited to 'syn/tests/test_pat.rs')
-rw-r--r--syn/tests/test_pat.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/syn/tests/test_pat.rs b/syn/tests/test_pat.rs
deleted file mode 100644
index cce4b80..0000000
--- a/syn/tests/test_pat.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-mod features;
-
-use quote::quote;
-use syn::Pat;
-
-#[test]
-fn test_pat_ident() {
- match syn::parse2(quote!(self)).unwrap() {
- Pat::Ident(_) => (),
- value => panic!("expected PatIdent, got {:?}", value),
- }
-}
-
-#[test]
-fn test_pat_path() {
- match syn::parse2(quote!(self::CONST)).unwrap() {
- Pat::Path(_) => (),
- value => panic!("expected PatPath, got {:?}", value),
- }
-}