Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Commit 88238a3

Browse files
committed
Update snapshot tests
1 parent 5f241e8 commit 88238a3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

parser/src/function.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ mod tests {
136136
use super::*;
137137
use crate::{ast, parser::ParseErrorType, Parse};
138138

139+
#[cfg(feature = "all-nodes-with-ranges")]
139140
macro_rules! function_and_lambda {
140141
($($name:ident: $code:expr,)*) => {
141142
$(

parser/src/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,10 +1251,10 @@ def test():
12511251
class Abcd:
12521252
pass
12531253
"#
1254-
.trim(),
1254+
.trim(),
12551255
"<test>",
12561256
)
1257-
.unwrap();
1257+
.unwrap();
12581258
insta::assert_debug_snapshot!(parse_ast);
12591259
}
12601260
}

0 commit comments

Comments
 (0)