summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 15:07:40 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 22:16:40 -0500
commit44798efb9ec9a89416658707d952e60e8e5fe01b (patch)
tree2d6c0a2ab32fbb9a6d11bdee2323aa14f0eb6a9e
parent5beed3afaee6dc0ecf8610ad7c87797094f0cc49 (diff)
gofmt nslcd_systemd/misc_test.go
-rw-r--r--nslcd_systemd/misc_test.go6
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 }