about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/proc-macro/expand-expr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/proc-macro/expand-expr.rs b/src/test/ui/proc-macro/expand-expr.rs
index 75a23976a64..901b3a95102 100644
--- a/src/test/ui/proc-macro/expand-expr.rs
+++ b/src/test/ui/proc-macro/expand-expr.rs
@@ -125,8 +125,8 @@ const _: u32 = recursive_expand!(); //~ ERROR: recursion limit reached while exp
 
 fn main() {
     // https://github.com/rust-lang/rust/issues/104414
-    match b"a" {
+    match b"Included file contents\n" {
         include_bytes!("auxiliary/included-file.txt") => (),
-        _ => ()
+        _ => panic!("include_bytes! in pattern"),
     }
 }