From 33d7b3967e72479e4835f846676baac4c78e2999 Mon Sep 17 00:00:00 2001 From: Ravi Shankar Date: Tue, 23 Aug 2016 00:53:09 +0530 Subject: Some cleanups in tidy --- python/tidy/servo_tidy_tests/test_tidy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/tidy/servo_tidy_tests/test_tidy.py') 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) -- cgit v1.2.3