summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Lehtonen <lars.lehtonen@gmail.com>2019-11-08 14:25:41 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2019-11-08 22:53:01 +0000
commitc7154b74f18f62a42612a96ebd5389bf9dea7a56 (patch)
treeeef1c8b901865b0d0b5b0d1a97a3490bb7ba059a
parent4ba9e2ef068ce38cc0f710f3a9a508aa6c14b82d (diff)
downloadnet-c7154b74f18f62a42612a96ebd5389bf9dea7a56.tar.xz
webdav: fix dropped test error
Picks up a dropped error in TestMemLSConfirm(). Change-Id: Idfbb0fc37dcbec55b0ec6343221dcd9310f474b8 Reviewed-on: https://go-review.googlesource.com/c/net/+/206218 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--webdav/lock_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/webdav/lock_test.go b/webdav/lock_test.go
index 5cf14cd..561ada4 100644
--- a/webdav/lock_test.go
+++ b/webdav/lock_test.go
@@ -212,6 +212,10 @@ func TestMemLSConfirm(t *testing.T) {
Duration: infiniteTimeout,
ZeroDepth: false,
})
+ if err != nil {
+ t.Fatalf("Create: %v", err)
+ }
+
tweedle, err := m.Create(now, LockDetails{
Root: "/tweedle",
Duration: infiniteTimeout,