Skip to content

Commit cc63eaf

Browse files
committed
Fix failing test
1 parent 9eb403e commit cc63eaf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_check_autopkg_recipe_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def test_yaml_parsing_error(self):
165165
with tempfile.TemporaryDirectory() as tmpdir:
166166
yaml_file = os.path.join(tmpdir, "bad.yaml")
167167
with open(yaml_file, "w", encoding="utf-8") as f:
168-
f.write(":\n-")
168+
f.write(":\n :\n-\n :")
169169
retval, output = self.run_main_with_files([yaml_file])
170170
self.assertEqual(retval, 1)
171171
self.assertIn("yaml parsing error", output)

0 commit comments

Comments
 (0)