aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy_tests/test_tidy.py
diff options
context:
space:
mode:
authorRavi Shankar <wafflespeanut@gmail.com>2016-08-23 00:53:09 +0530
committerRavi Shankar <wafflespeanut@gmail.com>2016-08-23 00:53:09 +0530
commit33d7b3967e72479e4835f846676baac4c78e2999 (patch)
tree8c062090d8890b8c927ada73ea155fe88fd21ef5 /python/tidy/servo_tidy_tests/test_tidy.py
parentf8b2be1ea4d844d5bddd88df2e5db42731bd6a39 (diff)
downloadservo-33d7b3967e72479e4835f846676baac4c78e2999.tar.gz
servo-33d7b3967e72479e4835f846676baac4c78e2999.zip
Some cleanups in tidy
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)