Skip to content

Commit 063d46e

Browse files
committed
Fix merge issue
1 parent af5e568 commit 063d46e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

tests/test_analyse.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,20 @@ def test_git_root_auto_detection_when_not_configured(tmp_path):
210210
# We just verify it's not None (since this test runs in the sphinx-codelinks repo)
211211
assert src_analyse.git_root is not None
212212
assert (src_analyse.git_root / ".git").exists()
213-
oneline_comment_style=ONELINE_COMMENT_STYLE_DEFAULT,
214-
)
213+
215214

216215
def test_oneline_parser_warnings_are_collected(tmp_path):
217216
"""Test that oneline parser warnings are collected for later output."""
218217
src_dir = TEST_DIR / "data" / "oneline_comment_default"
219218
src_paths = [src_dir / "default_oneliners.c"]
219+
src_analyse_config = SourceAnalyseConfig(
220+
src_files=src_paths,
221+
src_dir=src_dir,
222+
get_need_id_refs=False,
223+
get_oneline_needs=True,
224+
get_rst=False,
225+
oneline_comment_style=ONELINE_COMMENT_STYLE_DEFAULT,
226+
)
220227
src_analyse = SourceAnalyse(src_analyse_config)
221228
src_analyse.run()
222229

0 commit comments

Comments
 (0)