Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/body/tests.rs')
-rw-r--r--crates/hir-def/src/body/tests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/hir-def/src/body/tests.rs b/crates/hir-def/src/body/tests.rs
index 0011d3a20c..38fc01d8fc 100644
--- a/crates/hir-def/src/body/tests.rs
+++ b/crates/hir-def/src/body/tests.rs
@@ -219,7 +219,7 @@ fn main() {
},
);
}"#]]
- .assert_eq(&body.pretty_print(&db, def))
+ .assert_eq(&body.pretty_print(&db, def, Edition::CURRENT))
}
#[test]
@@ -285,7 +285,7 @@ impl SsrError {
),
);
}"#]]
- .assert_eq(&body.pretty_print(&db, def))
+ .assert_eq(&body.pretty_print(&db, def, Edition::CURRENT))
}
#[test]
@@ -333,5 +333,5 @@ fn f(a: i32, b: u32) -> String {
);
};
}"#]]
- .assert_eq(&body.pretty_print(&db, def))
+ .assert_eq(&body.pretty_print(&db, def, Edition::CURRENT))
}