about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-07-01 12:31:03 +0200
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-07-01 12:31:03 +0200
commit991850bc3c2ff34fe8b3e63815067307d8d90db6 (patch)
tree78b54055f2f5394ce4b75bbaf6f97bad466710ae /docs/dev
parent7b0113b3d588fdc1f95eca1286fb2f6881abe65a (diff)
downloadrust-991850bc3c2ff34fe8b3e63815067307d8d90db6.tar.gz
rust-991850bc3c2ff34fe8b3e63815067307d8d90db6.zip
Unify magic env var name
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dev/README.md b/docs/dev/README.md
index f1139d2f420..f8746240047 100644
--- a/docs/dev/README.md
+++ b/docs/dev/README.md
@@ -361,10 +361,10 @@ There are two kinds of tests:
 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.
 If you are tempted to add a large inline test, it might be a good idea to leave only the simplest example in place, and move the test to a manual `parser/ok` test.
 
-To update test data, run with `UPDATE_EXPECTATIONS` variable:
+To update test data, run with `UPDATE_EXPECT` variable:
 
 ```bash
-env UPDATE_EXPECTATIONS=1 cargo qt
+env UPDATE_EXPECT=1 cargo qt
 ```
 
 After adding a new inline test you need to run `cargo xtest codegen` and also update the test data as described above.