mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Fix parser test directory name in dev docs
This commit is contained in:
parent
96309ba4a1
commit
f280407d73
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ The results are 100% Rust specific though.
|
|||
Test for parser (`ra_parser`) live in `ra_syntax` crate (see `test_data` direcotory).
|
||||
There are two kinds of tests:
|
||||
|
||||
* Manually written test cases in `parser/ok` and `parser/error`
|
||||
* Manually written test cases in `parser/ok` and `parser/err`
|
||||
* "Inline" tests in `parser/inline` (these are generated) from comments in `ra_parser` crate.
|
||||
|
||||
The purpose of inline tests is not to achieve full coverage by test cases, but to explain to the reader of the code what each particular `if` and `match` is responsible for.
|
||||
|
|
Loading…
Reference in a new issue