diff options
| author | Pascal Hertleif <killercup@gmail.com> | 2018-05-02 00:44:39 +0200 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-05-04 15:01:28 -0700 |
| commit | b2645044039cb59858ec494e0ddacbe597757cdb (patch) | |
| tree | bf0add9700b13d24fcb10fdf1da997979b4cb2f3 | |
| parent | 9680f3b381767010c97b5d3ea0a14fdc19efde0c (diff) | |
| download | rust-b2645044039cb59858ec494e0ddacbe597757cdb.tar.gz rust-b2645044039cb59858ec494e0ddacbe597757cdb.zip | |
tidy
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index a7c34921842..745952ddf9e 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -2606,8 +2606,11 @@ impl<'test> TestCx<'test> { let fixture_path = expected_output_path(&self.testpaths, None, &None, UI_FIXED); - // TODO(killercup): Add `nll.rs.fixed` files matching - let nll = self.config.compare_mode.as_ref().map(|x| *x == CompareMode::Nll).unwrap_or(false); + // FIXME(killercup): Add `nll.rs.fixed` files matching + let nll = self.config.compare_mode + .as_ref() + .map(|x| *x == CompareMode::Nll) + .unwrap_or(false); if fixture_path.exists() && !nll { use std::collections::HashSet; use rustfix::{apply_suggestions, get_suggestions_from_json}; @@ -2620,7 +2623,7 @@ impl<'test> TestCx<'test> { let errors = self.compare_output("rs.fixed", &fixed_code, &expected_fixed); if errors > 0 { panic!("rustfix produced different fixed file!"); - // TODO: Add info for update-references.sh call + // FIXME(killercup): Add info for update-references.sh call } } } |
