diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2020-04-08 15:57:49 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2020-04-08 15:59:17 +0200 |
commit | 4227425c1e6374857b3d881a1d3963be27141576 (patch) | |
tree | a5a1e372ff0ceda3a71e1e20a4267cbe89dde05e /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 651b087155c09301f6762b7b58b14be8f6334ccf (diff) | |
download | servo-4227425c1e6374857b3d881a1d3963be27141576.tar.gz servo-4227425c1e6374857b3d881a1d3963be27141576.zip |
Remove the lint added in https://github.com/servo/servo/pull/14589
Per https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=a8a5a716b3bdf52fa7960a1e4ee89add
it looks like the drop order of temporaries was changed at some point and this pattern is no longer problematic.
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r-- | python/tidy/servo_tidy_tests/test_tidy.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/python/tidy/servo_tidy_tests/test_tidy.py b/python/tidy/servo_tidy_tests/test_tidy.py index 441e9250c51..12f384b8674 100644 --- a/python/tidy/servo_tidy_tests/test_tidy.py +++ b/python/tidy/servo_tidy_tests/test_tidy.py @@ -140,12 +140,6 @@ class CheckTidiness(unittest.TestCase): self.assertEqual('method declared in webidl is missing a comment with a specification link', next(errors)[2]) self.assertNoMoreErrors(errors) - def test_script_thread(self): - errors = tidy.collect_errors_for_files(iterFile('script_thread.rs'), [], [tidy.check_rust], print_text=False) - self.assertEqual('use a separate variable for the match expression', next(errors)[2]) - self.assertEqual('use a separate variable for the match expression', next(errors)[2]) - self.assertNoMoreErrors(errors) - def test_webidl(self): errors = tidy.collect_errors_for_files(iterFile('spec.webidl'), [tidy.check_webidl_spec], [], print_text=False) self.assertEqual('No specification link found.', next(errors)[2]) |