clair/vendor/google.golang.org/grpc/backoff_test.go
2017-06-13 15:58:11 -04:00

12 lines
256 B
Go

package grpc
import "testing"
func TestBackoffConfigDefaults(t *testing.T) {
b := BackoffConfig{}
setDefaults(&b)
if b != DefaultBackoffConfig {
t.Fatalf("expected BackoffConfig to pickup default parameters: %v != %v", b, DefaultBackoffConfig)
}
}