Commit fb2b60c
committed
test: add missing tests for get_filenames_in_commit with git_reference
Add test coverage for get_filenames_in_commit() when called with an
explicit git_reference parameter. Previously only the error case and
the integration test (no git_reference) existed.
New tests:
- test_get_filenames_in_commit: success case without git_reference
- test_get_filenames_in_commit_with_git_reference: success case with
explicit reference, verifying the correct git command is called
- test_get_filenames_in_commit_error_with_git_reference: error case
with explicit reference
Closes #1860
Signed-off-by: edvatar <88481784+toroleapinc@users.noreply.github.com>1 parent 7543ca6 commit fb2b60c
1 file changed
+26
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
390 | 405 | | |
391 | 406 | | |
392 | 407 | | |
| |||
395 | 410 | | |
396 | 411 | | |
397 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
398 | 424 | | |
399 | 425 | | |
400 | 426 | | |
| |||
0 commit comments