nickgerace / gfold

CLI tool to help keep track of your Git repositories, written in Rust
https://crates.io/crates/gfold
Apache License 2.0
283 stars 20 forks source link

test: add failing test for #202 #210

Closed AckslD closed 1 year ago

AckslD commented 1 year ago

This adds a failing tests for #202. Might not be the best test case and my rust skill is not that high but hopefully it can help find out the issue :)

AckslD commented 1 year ago

I guess maybe the Option here should actually be caught? Not sure if that's the underlying issue but seems that if the remote does not exist then is_unpushed should return false?

nickgerace commented 1 year ago

Thanks a bunch for this :) I'll take a look soon and take a look at your comments too.

nickgerace commented 1 year ago

I'm going to merge for now since it's passing CI (or perhaps CI is misconfigured). Will take a look. Thanks!