aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-17 15:57:06 +0000
committerAleksey Kladov <[email protected]>2020-02-17 15:57:06 +0000
commit57140f1730b4ac39697bfad530409ac8472e4e9d (patch)
tree1efc29623af8929e31fc90a34f1588bc24375985 /xtask
parentb4c30fb8961177809646ccd72a7f62c7fd4fca4f (diff)
Drop proptest tests
It takes waaay to long to compile. We should add quickcheck tests when we touch the relevant code next time.
Diffstat (limited to 'xtask')
-rw-r--r--xtask/tests/tidy-tests/docs.rs6
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 @@
1use std::{collections::HashMap, fs, io::prelude::*, io::BufReader, path::Path}; 1use std::{collections::HashMap, fs, io::prelude::*, io::BufReader, path::Path};
2 2
3use anyhow::Context;
3use walkdir::{DirEntry, WalkDir}; 4use walkdir::{DirEntry, WalkDir};
4use xtask::project_root; 5use 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") {