diff options
-rw-r--r-- | nslcd_systemd/misc_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nslcd_systemd/misc_test.go b/nslcd_systemd/misc_test.go index be6d40c..a75083d 100644 --- a/nslcd_systemd/misc_test.go +++ b/nslcd_systemd/misc_test.go @@ -294,15 +294,15 @@ func TestLargeRequest(t *testing.T) { t.Run("large-request", func(t *testing.T) { testWithTimeout(t, 2*time.Second, func(t *testing.T, s chan<- string) { KiB := 1024 - GiB := 1024*1024*1024 + GiB := 1024 * 1024 * 1024 ctx := &testContext{T: t, tmpdir: tmpdir, status: s} backend := &LockingBackend{} limits := nslcd_server.Limits{ - Timeout: 1 * time.Second, - RequestMaxSize: int64(1*KiB), + Timeout: 1 * time.Second, + RequestMaxSize: int64(1 * KiB), } notifyHandler := func(dat []byte, oob []byte) error { return nil } |