Open Heatmap: update plugin snapshot testdata (#50747)

This commit is contained in:
Ryan McKinley authored and GitHub committed 2022-06-14 00:35:20 -07:00
1 parent 262ee5219e
commit c5547fde59
2 files changed
+1638 -2

No files matched your search

+5 -1
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()
}