mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
update tests
This commit is contained in:
parent
033db1015e
commit
d1d861e163
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class TestTryFixYaml:
|
||||||
# The function adds '|-' to 'relevant line:' if it is not already present and successfully parses the YAML string.
|
# The function adds '|-' to 'relevant line:' if it is not already present and successfully parses the YAML string.
|
||||||
def test_add_relevant_line(self):
|
def test_add_relevant_line(self):
|
||||||
review_text = "relevant line: value: 3\n"
|
review_text = "relevant line: value: 3\n"
|
||||||
expected_output = {"relevant line": "value: 3"}
|
expected_output = {'relevant line': 'value: 3\n'}
|
||||||
assert try_fix_yaml(review_text) == expected_output
|
assert try_fix_yaml(review_text) == expected_output
|
||||||
|
|
||||||
# The function extracts YAML snippet
|
# The function extracts YAML snippet
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue