diff options
author | Aleksey Kladov <[email protected]> | 2020-07-01 11:31:03 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-01 11:31:03 +0100 |
commit | 991850bc3c2ff34fe8b3e63815067307d8d90db6 (patch) | |
tree | 78b54055f2f5394ce4b75bbaf6f97bad466710ae /crates/ra_syntax | |
parent | 7b0113b3d588fdc1f95eca1286fb2f6881abe65a (diff) |
Unify magic env var name
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/tests.rs b/crates/ra_syntax/src/tests.rs index f14f23628..7b4232497 100644 --- a/crates/ra_syntax/src/tests.rs +++ b/crates/ra_syntax/src/tests.rs | |||
@@ -274,7 +274,7 @@ fn assert_equal_text(expected: &str, actual: &str, path: &Path) { | |||
274 | fs::write(path, actual).unwrap(); | 274 | fs::write(path, actual).unwrap(); |
275 | return; | 275 | return; |
276 | } | 276 | } |
277 | if env::var("UPDATE_EXPECTATIONS").is_ok() { | 277 | if env::var("UPDATE_EXPECT").is_ok() { |
278 | println!("rewriting {}", pretty_path.display()); | 278 | println!("rewriting {}", pretty_path.display()); |
279 | fs::write(path, actual).unwrap(); | 279 | fs::write(path, actual).unwrap(); |
280 | return; | 280 | return; |