You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a few more cases to TestRepos_GetRepositories() including an error
from the filesystem, a single repo case, and multiple repositories.
Be sure to match the expected output of ReadFileLines() which is to trim
the newlines.
In the multiple repositories case, I added an empty line to check the
case of skipping newlines. In an earlier version of this commit, I had
thought there was a bug, but it was due to me including newlines in the
mocked output.
Signed-off-by: Derrick Stolee <[email protected]>
0 commit comments