diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 13:41:28 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 13:41:28 +0100 |
| commit | 75ad64ef27d5b8fbfa1a54a94c063e69b2c1ce81 (patch) | |
| tree | 92b01939c8300f3e07fb50afabdad81d66c8d8db /tests/conversion_tests.py | |
| parent | 1f9547fc3e26e8d1407b696dedc69aa402b7311c (diff) | |
Improve error message when result has unexpected messages
Diffstat (limited to 'tests/conversion_tests.py')
| -rw-r--r-- | tests/conversion_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/conversion_tests.py b/tests/conversion_tests.py index 0b5421b..b045cac 100644 --- a/tests/conversion_tests.py +++ b/tests/conversion_tests.py @@ -455,5 +455,5 @@ def _run_with_text(text): def _style_mapping(text): result = style_reader.read_style(text) - assert not result.messages + assert_equal([], result.messages) return result.value |
