--- a/tests/test_incoming.py Thu Jun 23 23:01:48 2016 +0800
+++ b/tests/test_incoming.py Thu Jun 23 23:04:26 2016 +0800
assert extra['filename'] == 'requirements.txt'
assert extra['fileline'] == 1
+ errors, warnings, extra = mlo('ham.lua:414:90: (E101) foo is not good')
+ assert sorted(extra.keys()) == ['cls', 'fileline', 'filename']
+ assert extra['cls'] == 'error'
+ assert extra['filename'] == 'ham.lua'
+ assert extra['fileline'] == 414
def test_parse_project_url():
result = parse_project_url('https://example.com/alice/hello-world')