This commit is contained in:
Shreyas Goenka 2025-02-03 19:50:16 +01:00
parent b076b750f1
commit b66bfb2c93
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 0 additions and 4 deletions

View File

@ -300,12 +300,8 @@ func runTest(t *testing.T, dir, coverDir string, repls testdiff.ReplacementsCont
for _, req := range server.Requests {
reqJson, err := json.Marshal(req)
if err == nil {
}
require.NoError(t, err)
// if
line := fmt.Sprintf("%s\n", reqJson)
_, err = f.WriteString(line)
require.NoError(t, err)