File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -173,22 +173,22 @@ func Test_shouldFallbackToListChannels(t *testing.T) {
173173 {
174174 name : "api no_channels_supplied" ,
175175 err : & edge.APIError {Err : "no_channels_supplied" },
176- want : true ,
176+ want : false , // Not a fallback condition anymore
177177 },
178178 {
179179 name : "api internal_error" ,
180180 err : & edge.APIError {Err : "internal_error" },
181- want : true ,
181+ want : false , // Not a fallback condition anymore
182182 },
183183 {
184184 name : "wrapped callback no_channels_supplied" ,
185185 err : errors .New ("API error: callback error: no_channels_supplied" ),
186- want : true ,
186+ want : false , // Not a fallback condition anymore
187187 },
188188 {
189189 name : "wrapped callback internal_error" ,
190190 err : errors .New ("API error: callback error: internal_error" ),
191- want : true ,
191+ want : false , // Not a fallback condition anymore
192192 },
193193 {
194194 name : "other error" ,
You can’t perform that action at this time.
0 commit comments