mirror of
https://github.com/rclone/rclone.git
synced 2024-12-02 13:25:51 +01:00
12 lines
256 B
Go
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)
|
||
|
}
|
||
|
}
|