File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ mod tests {
150
150
#[ track_caller]
151
151
fn check ( ra_fixture : & str , mut expect : Expect ) {
152
152
let parsed = syntax:: SourceFile :: parse ( ra_fixture) ;
153
- eprintln ! ( "parse: {:#?}" , parsed. syntax_node( ) ) ;
154
153
let fixups = super :: fixup_syntax ( & parsed. syntax_node ( ) ) ;
155
154
let ( mut tt, tmap, _) = mbe:: syntax_node_to_token_tree_with_modifications (
156
155
& parsed. syntax_node ( ) ,
Original file line number Diff line number Diff line change @@ -192,7 +192,9 @@ fn convert_tokens<C: TokenConvertor>(conv: &mut C) -> tt::Subtree {
192
192
continue ;
193
193
}
194
194
let tt = if kind. is_punct ( ) && kind != UNDERSCORE {
195
- // assert_eq!(range.len(), TextSize::of('.'));
195
+ if synth_id. is_none ( ) {
196
+ assert_eq ! ( range. len( ) , TextSize :: of( '.' ) ) ;
197
+ }
196
198
197
199
if let Some ( delim) = subtree. delimiter {
198
200
let expected = match delim. kind {
You can’t perform that action at this time.
0 commit comments