aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/test.py
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2023-09-10 20:32:10 +0200
committerGitHub <noreply@github.com>2023-09-10 18:32:10 +0000
commit9b1247b20f2de6bbba39efff49eabc63e865ce2e (patch)
treeb645796558b72c3bbc6b3235c4c6a3d3c31b756d /python/tidy/test.py
parentd470955032967289f040800852dca044f3182aff (diff)
downloadservo-9b1247b20f2de6bbba39efff49eabc63e865ce2e.tar.gz
servo-9b1247b20f2de6bbba39efff49eabc63e865ce2e.zip
No extern crate test/tidy & better RUSTFLAGS handling in mach (#30328)
* Remove unused extern crate rustflag * Remove tidy check alphabetical order of extern crates rustfmt's reorder_imports already does that * fix * better RUSTFLAGS handling
Diffstat (limited to 'python/tidy/test.py')
-rw-r--r--python/tidy/test.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/tidy/test.py b/python/tidy/test.py
index 5b6cff89988..5690b397a0c 100644
--- a/python/tidy/test.py
+++ b/python/tidy/test.py
@@ -108,7 +108,6 @@ class CheckTidiness(unittest.TestCase):
errors = tidy.collect_errors_for_files(iterFile('rust_tidy.rs'), [], [tidy.check_rust], print_text=False)
self.assertTrue('mod declaration is not in alphabetical order' in next(errors)[2])
self.assertEqual('mod declaration spans multiple lines', next(errors)[2])
- self.assertTrue('extern crate declaration is not in alphabetical order' in next(errors)[2])
self.assertTrue('derivable traits list is not in alphabetical order' in next(errors)[2])
self.assertEqual('found an empty line following a {', next(errors)[2])
self.assertEqual('use &[T] instead of &Vec<T>', next(errors)[2])