diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-10-06 12:03:10 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-10-06 12:03:10 -0700 |
commit | 561fd3fd27641a5c89a5eec729234e2c786e8082 (patch) | |
tree | 212ed7ce6bdef1b4fdebfb13309e14790de149ad /scripts/common_tests.py | |
parent | 3d5647ab136893c3af064dd32ff4442cd40ebe5e (diff) |
Test version string, revision # as separate values
Diffstat (limited to 'scripts/common_tests.py')
-rw-r--r-- | scripts/common_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/common_tests.py b/scripts/common_tests.py index fc84730..c58bdce 100644 --- a/scripts/common_tests.py +++ b/scripts/common_tests.py @@ -130,7 +130,8 @@ class TestMetaInfo(FontTest): for font in self.fonts: version = font_data.font_version(font) usable_part_of_version = version.split(';')[0] - self.assertEqual(usable_part_of_version, self.expected_version) + self.assertEqual(usable_part_of_version, + 'Version ' + self.expected_version) revision = font_data.printable_font_revision(font, accuracy=5) self.assertEqual(revision, self.expected_version) |