Skip to content

Commit 9cf5c22

Browse files
committed
Auto merge of #13625 - lowr:fix/proc-macro-src-test, r=lnicola
internal: Update proc-macro-srv tests Should have been included in #13548, but I didn't notice as those tests aren't run in our CI. cc rust-lang/rust#104454
2 parents 92e393c + 7577c44 commit 9cf5c22

File tree

1 file changed

+3
-3
lines changed
  • crates/proc-macro-srv/src/tests

1 file changed

+3
-3
lines changed

crates/proc-macro-srv/src/tests/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn test_derive_error() {
1919
expect![[r##"
2020
SUBTREE $
2121
IDENT compile_error 4294967295
22-
PUNCH ! [joint] 4294967295
22+
PUNCH ! [alone] 4294967295
2323
SUBTREE () 4294967295
2424
LITERAL "#[derive(DeriveError)] struct S ;" 4294967295
2525
PUNCH ; [alone] 4294967295"##]],
@@ -109,7 +109,7 @@ fn test_fn_like_macro_clone_literals() {
109109
PUNCH , [alone] 4294967295
110110
LITERAL 2_u32 4294967295
111111
PUNCH , [alone] 4294967295
112-
PUNCH - [joint] 4294967295
112+
PUNCH - [alone] 4294967295
113113
LITERAL 4i64 4294967295
114114
PUNCH , [alone] 4294967295
115115
LITERAL 3.14f32 4294967295
@@ -130,7 +130,7 @@ fn test_attr_macro() {
130130
expect![[r##"
131131
SUBTREE $
132132
IDENT compile_error 4294967295
133-
PUNCH ! [joint] 4294967295
133+
PUNCH ! [alone] 4294967295
134134
SUBTREE () 4294967295
135135
LITERAL "#[attr_error(some arguments)] mod m {}" 4294967295
136136
PUNCH ; [alone] 4294967295"##]],

0 commit comments

Comments
 (0)