@@ -106,8 +106,8 @@ func ExampleStore() {
106106
107107func TestStore (t * testing.T ) {
108108 valid := []credentials.Credentials {
109- {credentials . CredsLabel , validServerAddress , "foo" , "bar" },
110- {credentials . CredsLabel , validServerAddress2 , "<token>" , "abcd1234" },
109+ {validServerAddress , "foo" , "bar" },
110+ {validServerAddress2 , "<token>" , "abcd1234" },
111111 }
112112
113113 for _ , v := range valid {
@@ -117,7 +117,7 @@ func TestStore(t *testing.T) {
117117 }
118118
119119 invalid := []credentials.Credentials {
120- {credentials . CredsLabel , invalidServerAddress , "foo" , "bar" },
120+ {invalidServerAddress , "foo" , "bar" },
121121 }
122122
123123 for _ , v := range invalid {
@@ -140,8 +140,8 @@ func ExampleGet() {
140140
141141func TestGet (t * testing.T ) {
142142 valid := []credentials.Credentials {
143- {credentials . CredsLabel , validServerAddress , "foo" , "bar" },
144- {credentials . CredsLabel , validServerAddress2 , "<token>" , "abcd1234" },
143+ {validServerAddress , "foo" , "bar" },
144+ {validServerAddress2 , "<token>" , "abcd1234" },
145145 }
146146
147147 for _ , v := range valid {
0 commit comments