Open Heatmap: update plugin snapshot testdata (#50747)

This commit is contained in:
Ryan McKinley 2022-06-14 00:35:20 -07:00 committed by GitHub
parent 262ee5219e
commit c5547fde59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1638 additions and 2 deletions

View File

@ -95,7 +95,11 @@ func TestPlugins(t *testing.T) {
if !same {
if updateSnapshotFlag {
t.Log("updating snapshot results")
updateRespSnapshot(t, tc.expRespPath, string(b))
var prettyJSON bytes.Buffer
if err := json.Indent(&prettyJSON, b, "", " "); err != nil {
t.FailNow()
}
updateRespSnapshot(t, tc.expRespPath, prettyJSON.String())
}
t.FailNow()
}

File diff suppressed because one or more lines are too long