You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
______________________ ElmLintBearTest.test_bad_function ______________________
self = <tests.elm.ElmLintBearTest.ElmLintBearTest testMethod=test_bad_function>
def test_bad_function(self):
prepared = prepare_file(bad_file_function.splitlines(),
filename=None, create_tempfile=True)
with prepared as (file, fname):
self.check_results(
self.uut,
bad_file_function.splitlines(),
[Result.from_values('ElmLintBear',
message=result_message_bad_function,
file=fname,
line=6,
severity=RESULT_SEVERITY.NORMAL)],
filename=fname,
> create_tempfile=False)
tests\elm\ElmLintBearTest.py:135:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\py34-noskip-pip-npm-gem-go-perl-php-java8-adhoc-win-check-codecov\lib\site-packages\coalib\testing\LocalBearTestHelper.py:285: in check_results
sorted(bear_output), sorted(results))
.tox\py34-noskip-pip-npm-gem-go-perl-php-java8-adhoc-win-check-codecov\lib\site-packages\coalib\testing\LocalBearTestHelper.py:138: in assertComparableObjectsEqual
self.assertEqual(observed_result, expected_result)
E AssertionError: Lists differ: [] != [<Result object(id=0xad4fdabc99ba422d83f08[728 chars]e70>]
E
E Second list contains 1 additional elements.
E First extra element 0:
E <Result object(id=0xad4fdabc99ba422d83f0858b9493b7a2, origin='ElmLintBear', affected_code=(<SourceRange object(start=<SourcePosition object(file='C:\\Users\\appveyor\\AppData\\Local\\Temp\\tmplcowwzch', line=6, column=None) at 0x836f170>, end=<SourcePosition object(file='C:\\Users\\appveyor\\AppData\\Local\\Temp\\tmplcowwzch', line=6, column=None) at 0x836f6f0>) at 0x836faf0>,), severity=NORMAL, confidence=100, message='text (toString [four)\x1b[31m\n ^\x1b[0m\nI am looking for one of the following things:\n\n ","\n "]"\n a field access like .name\n an expression\n an infix operator like +\n an infix operator like `andThen`\n more letters in this name\n whitespace', aspect=NoneType, applied_actions={}) at 0x836fe70>
E
E Diff is 783 characters long. Set self.maxDiff to None to see it
https://ci.appveyor.com/project/jayvdb/coala-bears/builds/25185330/job/ab5vyu8usei0qpg2
The text was updated successfully, but these errors were encountered: