diff options
author | UK992 <urbankrajnc92@gmail.com> | 2017-01-16 01:13:44 +0100 |
---|---|---|
committer | UK992 <urbankrajnc92@gmail.com> | 2017-01-18 21:51:56 +0100 |
commit | 8a1aa354d6a86b250e409927a4b876a0574891e6 (patch) | |
tree | 5ec926b08257044363fa0997530af2bf45ce781f /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | 747e130295bc6dce8448a69bfdb01d2216f71738 (diff) | |
download | servo-8a1aa354d6a86b250e409927a4b876a0574891e6.tar.gz servo-8a1aa354d6a86b250e409927a4b876a0574891e6.zip |
Tidy: Report invalid listed ignored directories and files
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r-- | python/tidy/servo_tidy_tests/test_tidy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy_tests/test_tidy.py b/python/tidy/servo_tidy_tests/test_tidy.py index d8738b08981..f9ccf889ec0 100644 --- a/python/tidy/servo_tidy_tests/test_tidy.py +++ b/python/tidy/servo_tidy_tests/test_tidy.py @@ -29,6 +29,8 @@ class CheckTidiness(unittest.TestCase): self.assertEqual("invalid config key 'key-outside'", errors.next()[2]) self.assertEqual("invalid config key 'wrong-key'", errors.next()[2]) self.assertEqual('invalid config table [wrong]', errors.next()[2]) + self.assertEqual("ignored file './fake/file.html' doesn't exist", errors.next()[2]) + self.assertEqual("ignored directory './fake/dir' doesn't exist", errors.next()[2]) self.assertNoMoreErrors(errors) def test_directory_checks(self): |