Grzegorz Dlugoszewski
|
dfc8437408
|
Add CloneRepo function and unit tests for cloned repos status
|
2020-05-19 14:12:38 +02:00 |
|
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 |
|