aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
-rw-r--r--python/tidy/servo_tidy_tests/test_tidy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tidy/servo_tidy_tests/test_tidy.py b/python/tidy/servo_tidy_tests/test_tidy.py
index c8751ea59c4..f65ffa55d37 100644
--- a/python/tidy/servo_tidy_tests/test_tidy.py
+++ b/python/tidy/servo_tidy_tests/test_tidy.py
@@ -24,9 +24,9 @@ class CheckTidiness(unittest.TestCase):
errors.next()
def test_tidy_config(self):
- errors = tidy.check_config_file(os.path.join(base_path, 'servo-tidy.toml'))
- self.assertEqual('invalid config key \'key-outside\'', errors.next()[2])
- self.assertEqual('invalid config key \'wrong-key\'', errors.next()[2])
+ errors = tidy.check_config_file(os.path.join(base_path, 'servo-tidy.toml'), print_text=False)
+ 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.assertNoMoreErrors(errors)