diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-17 15:58:42 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-17 15:58:42 +0000 |
commit | f7b0135c64da13d64fb0add0c96e84289beb07b4 (patch) | |
tree | 1efc29623af8929e31fc90a34f1588bc24375985 /xtask | |
parent | b4c30fb8961177809646ccd72a7f62c7fd4fca4f (diff) | |
parent | 57140f1730b4ac39697bfad530409ac8472e4e9d (diff) |
Merge #3195
3195: Drop proptest tests r=matklad a=matklad
It takes waaay to long to compile.
We should add quickcheck tests when we touch the relevant code next
time.
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/tests/tidy-tests/docs.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xtask/tests/tidy-tests/docs.rs b/xtask/tests/tidy-tests/docs.rs index 6a69e7d6a..7ae73b934 100644 --- a/xtask/tests/tidy-tests/docs.rs +++ b/xtask/tests/tidy-tests/docs.rs | |||
@@ -1,5 +1,6 @@ | |||
1 | use std::{collections::HashMap, fs, io::prelude::*, io::BufReader, path::Path}; | 1 | use std::{collections::HashMap, fs, io::prelude::*, io::BufReader, path::Path}; |
2 | 2 | ||
3 | use anyhow::Context; | ||
3 | use walkdir::{DirEntry, WalkDir}; | 4 | use walkdir::{DirEntry, WalkDir}; |
4 | use xtask::project_root; | 5 | use xtask::project_root; |
5 | 6 | ||
@@ -50,7 +51,10 @@ fn no_docs_comments() { | |||
50 | } | 51 | } |
51 | let mut reader = BufReader::new(fs::File::open(f.path()).unwrap()); | 52 | let mut reader = BufReader::new(fs::File::open(f.path()).unwrap()); |
52 | let mut line = String::new(); | 53 | let mut line = String::new(); |
53 | reader.read_line(&mut line).unwrap(); | 54 | reader |
55 | .read_line(&mut line) | ||
56 | .with_context(|| format!("Failed to read {}", f.path().display())) | ||
57 | .unwrap(); | ||
54 | 58 | ||
55 | if line.starts_with("//!") { | 59 | if line.starts_with("//!") { |
56 | if line.contains("FIXME") { | 60 | if line.contains("FIXME") { |