Skip to content

Commit b63a32e

Browse files
committed
fixed another bug in the test for osx
Signed-off-by: avaid96 <[email protected]>
1 parent 173fe2d commit b63a32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osxkeychain/osxkeychain_darwin_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestOSXKeychainHelper(t *testing.T) {
4444
newpaths, newaccts, err := helper.List()
4545
if len(newpaths)-len(paths) != 1 || len(newaccts)-len(accts) != 1 {
4646
if(err == nil) {
47-
t.Fatalf("Error: len(newpaths): %d, len(paths): %d\n len(newaccts): %d, len(accts): %d\n Error= %s", len(newpaths), len(paths), len(newaccts), len(accts), nil)
47+
t.Fatalf("Error: len(newpaths): %d, len(paths): %d\n len(newaccts): %d, len(accts): %d\n Error= %s", len(newpaths), len(paths), len(newaccts), len(accts), "")
4848
}
4949
t.Fatalf("Error: len(newpaths): %d, len(paths): %d\n len(newaccts): %d, len(accts): %d\n Error= %s", len(newpaths), len(paths), len(newaccts), len(accts), err.Error())
5050
}

0 commit comments

Comments
 (0)