robertdfrench / git-pr

Pull requests without Git(Hub|Lab)
GNU General Public License v3.0
0 stars 1 forks source link

Test for fetch_and_prune doesn't check for repercussions of pruning #19

Open robertdfrench opened 2 years ago

robertdfrench commented 2 years ago

This kind of issue troubles me; We don't need to test git, we should accept its behavior as advertised. But we do need to test our usage of git, and I have trouble drawing that distinction sometimes.

Maybe we should think of this as "git-pr-list should remove references to old PRs". That reframes the question as testing our code (which happens to use git) rather than testing whether git is compliant with its own docs.