1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

cleaned up some of the osx code, added a better test for list

Signed-off-by: avaid96 <avaid1996@gmail.com>
This commit is contained in:
avaid96
2016-07-11 23:34:20 -07:00
parent 7566a1e399
commit 205e3b3056
5 changed files with 24 additions and 16 deletions
+1
View File
@@ -152,6 +152,7 @@ func TestList(t *testing.T) {
if err := List(h, out); err != nil {
t.Fatal(err)
}
//testing that there is an output
if out.Len() == 0 {
t.Fatalf("expected output in the writer, got %d", 0)
}