6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 01:29:42 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Grzegorz Dlugoszewski
a0f09ef74d Simplify RepoStatus unit tests 2020-05-19 11:22:41 +02:00
Grzegorz Dlugoszewski
ad7c3a4afc Change repo status to struct instead of map 2020-05-18 23:13:34 +02:00
Grzegorz Dlugoszewski
242d17ceb5 Use t.Cleanup instead of defer to cleanup after tests 2020-05-18 22:52:09 +02:00
Grzegorz Dlugoszewski
13f69bb4b5 Simplify error checking in test helper functions
Helper functions check for errors and call Fatal if necessary on their own. This way we don't have to check for errors again in actual tests.
2020-05-18 16:10:31 +02:00
Grzegorz Dlugoszewski
0ed1c2147d Add function mapping libgit's statusList entries to RepoStatus slice 2020-05-18 14:54:21 +02:00
Grzegorz Dlugoszewski
acdb877527 Add status checking function and basic unit tests 2020-05-18 13:56:45 +02:00