(testrepo: Repository)
| 35 | |
| 36 | |
| 37 | def test_revparse_single(testrepo: Repository) -> None: |
| 38 | assert testrepo.revparse_single('HEAD').id == HEAD_SHA |
| 39 | assert testrepo.revparse_single('HEAD^').id == PARENT_SHA |
| 40 | o = testrepo.revparse_single('@{-1}') |
| 41 | assert o.id == '5470a671a80ac3789f1a6a8cefbcf43ce7af0563' |
| 42 | |
| 43 | |
| 44 | def test_revparse_ext(testrepo: Repository) -> None: |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…