From 78dac8e74c339a54b3e3dcde034f0fc800c03351 Mon Sep 17 00:00:00 2001 From: Fabio Bonelli Date: Tue, 19 Mar 2024 19:39:16 +0100 Subject: [PATCH] chore: gofmt main_test.go (#232) --- main_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main_test.go b/main_test.go index 360a5fa..2f12789 100644 --- a/main_test.go +++ b/main_test.go @@ -2080,8 +2080,8 @@ func TestSoftwareEndpoints(t *testing.T) { }, { description: "PATCH a software resource with JSON Patch - replace", - query: "PATCH /v1/software/59803fb7-8eec-4fe5-a354-8926009c364a", - body: `[{"op": "replace", "path": "/publiccodeYml", "value": "new publiccode data"}]`, + query: "PATCH /v1/software/59803fb7-8eec-4fe5-a354-8926009c364a", + body: `[{"op": "replace", "path": "/publiccodeYml", "value": "new publiccode data"}]`, headers: map[string][]string{ "Authorization": {goodToken}, "Content-Type": {"application/json-patch+json"}, @@ -2114,8 +2114,8 @@ func TestSoftwareEndpoints(t *testing.T) { }, { description: "PATCH a software resource with JSON Patch - add", - query: "PATCH /v1/software/59803fb7-8eec-4fe5-a354-8926009c364a", - body: `[{"op": "add", "path": "/aliases/-", "value": "https://18-c.example.org"}]`, + query: "PATCH /v1/software/59803fb7-8eec-4fe5-a354-8926009c364a", + body: `[{"op": "add", "path": "/aliases/-", "value": "https://18-c.example.org"}]`, headers: map[string][]string{ "Authorization": {goodToken}, "Content-Type": {"application/json-patch+json"}, @@ -2149,8 +2149,8 @@ func TestSoftwareEndpoints(t *testing.T) { }, { description: "PATCH a software resource with JSON Patch as Content-Type, but non JSON Patch payload", - query: "PATCH /v1/software/59803fb7-8eec-4fe5-a354-8926009c364a", - body: `{"publiccodeYml": "publiccodedata", "url": "https://software-new.example.org"}`, + query: "PATCH /v1/software/59803fb7-8eec-4fe5-a354-8926009c364a", + body: `{"publiccodeYml": "publiccodedata", "url": "https://software-new.example.org"}`, headers: map[string][]string{ "Authorization": {goodToken}, "Content-Type": {"application/json-patch+json"},