about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authoreupn <36292692+eupn@users.noreply.github.com>2019-08-08 00:23:10 +0700
committerGitHub <noreply@github.com>2019-08-08 00:23:10 +0700
commit3c09c8105db13cb4d19ae0bef029e60a6f39537f (patch)
tree39862d4b424840f1baf777c7af2aa4bf17019d3b /docs/dev
parentc5b44975b8dd8f9b4b98dc64855943113795ecfa (diff)
downloadrust-3c09c8105db13cb4d19ae0bef029e60a6f39537f.tar.gz
rust-3c09c8105db13cb4d19ae0bef029e60a6f39537f.zip
architecture.md: update path to parser tests
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/architecture.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md
index 9e9651801a2..680910f381a 100644
--- a/docs/dev/architecture.md
+++ b/docs/dev/architecture.md
@@ -83,11 +83,11 @@ Rust syntax tree structure and parser. See
   visiting the nodes (this is double plus cool, if you understand how
   `Visitor` works, you understand the design of syntax trees).
 
-Tests for ra_syntax are mostly data-driven: `tests/data/parser` contains a bunch of `.rs`
+Tests for ra_syntax are mostly data-driven: `test_data/parser` contains subdirectories with a bunch of `.rs`
 (test vectors) and `.txt` files with corresponding syntax trees. During testing, we check
 `.rs` against `.txt`. If the `.txt` file is missing, it is created (this is how you update
 tests). Additionally, running `cargo gen-tests` will walk the grammar module and collect
-all `//test test_name` comments into files inside `tests/data` directory.
+all `// test test_name` comments into files inside `test_data/parser/inline` directory.
 
 See [#93](https://github.com/rust-analyzer/rust-analyzer/pull/93) for an example PR which
 fixes a bug in the grammar.