summaryrefslogtreecommitdiff
path: root/scripts/common_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/common_tests.py')
-rw-r--r--scripts/common_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/common_tests.py b/scripts/common_tests.py
index e766487..9e6f4c7 100644
--- a/scripts/common_tests.py
+++ b/scripts/common_tests.py
@@ -145,6 +145,11 @@ class TestNames(FontTest):
if 16 in records:
self.assertEqual(records[16], records[1])
+ def test_postscript_name_for_spaces(self):
+ """Tests that there are no spaces in PostScript names."""
+ for records in self.names:
+ self.assertFalse(' ' in records[6])
+
class TestDigitWidths(FontTest):
"""Tests the width of digits."""