Fix formatting issues with gofmt

- Removed trailing whitespace
- Fixed tab/space alignment in struct definitions
- All tests still passing

Co-authored-by: warkanum <208308+warkanum@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-30 15:30:23 +00:00
parent fab744b878
commit be38341383
2 changed files with 11 additions and 11 deletions

View File

@@ -14,9 +14,9 @@ func TestNormalizeResultArray_EmptyArrayWhenNoID(t *testing.T) {
handler := &Handler{}
tests := []struct {
name string
input interface{}
shouldBeEmptyArr bool
name string
input interface{}
shouldBeEmptyArr bool
}{
{
name: "nil should return empty array",
@@ -57,7 +57,7 @@ func TestNormalizeResultArray_EmptyArrayWhenNoID(t *testing.T) {
if len(emptyArr) != 0 {
t.Errorf("Expected empty array with length 0, got length %d", len(emptyArr))
}
// Verify it serializes to [] and not null
jsonBytes, err := json.Marshal(result)
if err != nil {