diff --git a/samples/samples/snippets_test.py b/samples/samples/snippets_test.py index 199d69f16d..792694c6e1 100644 --- a/samples/samples/snippets_test.py +++ b/samples/samples/snippets_test.py @@ -202,7 +202,9 @@ def test_query_with_struct(capsys): def test_query_with_array_of_struct(capsys): snippets.query_with_array_of_struct(INSTANCE_ID, DATABASE_ID) out, _ = capsys.readouterr() - assert 'SingerId: 8\nSingerId: 7\nSingerId: 6' in out + assert 'SingerId: 8' in out + assert 'SingerId: 7' in out + assert 'SingerId: 6' in out def test_query_struct_field(capsys):