Skip to content

Commit 716cb89

Browse files
committed
Fix to output format tests
1 parent fc03659 commit 716cb89

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_format_output_expanded_live_connection(self):
9595
'Name | Night',
9696
'(3 rows affected)'
9797
]
98-
assert list(result) == expected
98+
assert '\n'.join(result) == '\n'.join(expected)
9999
finally:
100100
shutdown(mssqlcli.mssqlcliclient_main)
101101

@@ -138,7 +138,7 @@ def test_format_output_auto_expand():
138138
'head2 | def',
139139
'test status'
140140
]
141-
assert list(expanded_results) == expanded
141+
assert '\n'.join(expanded_results) == '\n'.join(expanded)
142142

143143
@staticmethod
144144
def test_missing_rc_dir():

0 commit comments

Comments
 (0)