diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-21 11:36:04 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-21 11:36:04 +0100 |
commit | 9307c7f36396c4429bea434608cb5643135ae49d (patch) | |
tree | dae0469fcd4a29b480dd2332b58f9941c96a59a5 /docs/dev/architecture.md | |
parent | 9518e2f9d69dbb4a9ddd4a8bab87cf16a41fca03 (diff) | |
parent | daab8b2fd03340ea0be91281673c256b02ad8a90 (diff) |
Merge #5472
5472: Replace insta with expect r=matklad a=lnicola
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'docs/dev/architecture.md')
-rw-r--r-- | docs/dev/architecture.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index cee916c09..d0c6eea61 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md | |||
@@ -170,8 +170,7 @@ The innermost and most elaborate boundary is `hir`. It has a much richer | |||
170 | vocabulary of types than `ide`, but the basic testing setup is the same: we | 170 | vocabulary of types than `ide`, but the basic testing setup is the same: we |
171 | create a database, run some queries, assert result. | 171 | create a database, run some queries, assert result. |
172 | 172 | ||
173 | For comparisons, we use [insta](https://github.com/mitsuhiko/insta/) library for | 173 | For comparisons, we use the `expect` crate for snapshot testing. |
174 | snapshot testing. | ||
175 | 174 | ||
176 | To test various analysis corner cases and avoid forgetting about old tests, we | 175 | To test various analysis corner cases and avoid forgetting about old tests, we |
177 | use so-called marks. See the `marks` module in the `test_utils` crate for more. | 176 | use so-called marks. See the `marks` module in the `test_utils` crate for more. |