Skip to content

Commit 7ae882e

Browse files
committed
Bless clippy tests.
1 parent 18de216 commit 7ae882e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/ui/author/macro_in_closure.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if let StmtKind::Let(local) = stmt.kind
3434
&& block2.stmts.is_empty()
3535
&& let Some(trailing_expr1) = block2.expr
3636
&& let ExprKind::Call(func2, args2) = trailing_expr1.kind
37-
&& paths::CORE_FMT_RT_NEW.matches_path(cx, func2) // Add the path to `clippy_utils::paths` if needed
37+
&& paths::CORE_FMT_ARGUMENTS_NEW.matches_path(cx, func2) // Add the path to `clippy_utils::paths` if needed
3838
&& args2.len() == 2
3939
&& let ExprKind::Lit(ref lit) = args2[0].kind
4040
&& let LitKind::ByteStr(ref vec) = lit.node

tests/ui/author/macro_in_loop.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if let Some(higher::ForLoop { pat: pat, arg: arg, body: body, .. }) = higher::Fo
4545
&& block3.stmts.is_empty()
4646
&& let Some(trailing_expr1) = block3.expr
4747
&& let ExprKind::Call(func2, args2) = trailing_expr1.kind
48-
&& paths::CORE_FMT_RT_NEW.matches_path(cx, func2) // Add the path to `clippy_utils::paths` if needed
48+
&& paths::CORE_FMT_ARGUMENTS_NEW.matches_path(cx, func2) // Add the path to `clippy_utils::paths` if needed
4949
&& args2.len() == 2
5050
&& let ExprKind::Lit(ref lit2) = args2[0].kind
5151
&& let LitKind::ByteStr(ref vec) = lit2.node

0 commit comments

Comments
 (0)