From 9f77144be7536bf9f2c8e51f4a51dc67949ff9d2 Mon Sep 17 00:00:00 2001 From: Bryan Moffatt Date: Wed, 24 Jan 2024 10:03:57 -0800 Subject: [PATCH] gofmt --- lambda/invoke_loop_test.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lambda/invoke_loop_test.go b/lambda/invoke_loop_test.go index f0e236b9..0ce0db0c 100644 --- a/lambda/invoke_loop_test.go +++ b/lambda/invoke_loop_test.go @@ -102,15 +102,14 @@ func TestXRayCausePlumbing(t *testing.T) { }, }, messages.InvokeResponse_Error{ - Type: "yoloError", - Message: "hello yolo", - StackTrace: []*messages.InvokeResponse_Error_StackFrame{ - }, + Type: "yoloError", + Message: "hello yolo", + StackTrace: []*messages.InvokeResponse_Error_StackFrame{}, }, } wd, _ := os.Getwd() expected := []string{ - `{ + `{ "working_directory":"` + wd + `", "paths": [], "exceptions": [{ @@ -141,7 +140,6 @@ func TestXRayCausePlumbing(t *testing.T) { ] }] }`, - } require.Equal(t, len(errors), len(expected)) ts, record := runtimeAPIServer(``, len(errors))