From a74c46816dd4d87c32a31b5cddcf79201ca6f981 Mon Sep 17 00:00:00 2001 From: Adam Jensen Date: Sun, 3 Jun 2018 12:54:21 -0400 Subject: [PATCH] Remove creation-defer-length declaration from tests that don't use it --- concat_test.go | 2 +- options_test.go | 2 +- terminate_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/concat_test.go b/concat_test.go index 9b127ac..e223c42 100644 --- a/concat_test.go +++ b/concat_test.go @@ -25,7 +25,7 @@ func TestConcat(t *testing.T) { Method: "OPTIONS", Code: http.StatusOK, ResHeader: map[string]string{ - "Tus-Extension": "creation,creation-with-upload,creation-defer-length,concatenation", + "Tus-Extension": "creation,creation-with-upload,concatenation", }, }).Run(handler, t) }) diff --git a/options_test.go b/options_test.go index 81b5170..2194035 100644 --- a/options_test.go +++ b/options_test.go @@ -20,7 +20,7 @@ func TestOptions(t *testing.T) { (&httpTest{ Method: "OPTIONS", ResHeader: map[string]string{ - "Tus-Extension": "creation,creation-with-upload,creation-defer-length", + "Tus-Extension": "creation,creation-with-upload", "Tus-Version": "1.0.0", "Tus-Resumable": "1.0.0", "Tus-Max-Size": "400", diff --git a/terminate_test.go b/terminate_test.go index 046141e..098d72c 100644 --- a/terminate_test.go +++ b/terminate_test.go @@ -24,7 +24,7 @@ func TestTerminate(t *testing.T) { Method: "OPTIONS", Code: http.StatusOK, ResHeader: map[string]string{ - "Tus-Extension": "creation,creation-with-upload,creation-defer-length,termination", + "Tus-Extension": "creation,creation-with-upload,termination", }, }).Run(handler, t) })