Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ylil93 committed Dec 18, 2018
1 parent b0ec5cb commit 18572d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compatibility_lib/compatibility_lib/test_semver_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def test_semver_check_on_modified_optional_args(self):
('main.bar: default value was not preserved; '
'expecting "d=2", got "d=1"'),
'main.baz: bad arg name; expected "name", got "first_name"']
self.assertEqual(expected, res)
for errmsg in res:
self.assertTrue(errmsg in expected)

def test_semver_check_on_converted_optional_args(self):
old_dir = os.path.join(TEST_DIR, 'optional_args/converted/0.1.0')
Expand Down

0 comments on commit 18572d0

Please sign in to comment.