Live: check schema equality between push messages (#34548)

This commit is contained in:
Ryan McKinley
2021-05-27 12:55:42 +03:00
committed by GitHub
parent c59a2e1bcf
commit 67028af99e
11 changed files with 54 additions and 100 deletions
+1 -2
View File
@@ -70,9 +70,8 @@ func TestReadCSV(t *testing.T) {
require.NoError(t, err)
frame := data.NewFrame("", fBool, fBool2, fNum, fStr)
frameToJSON, err := data.FrameToJSON(frame)
out, err := data.FrameToJSON(frame, data.IncludeAll)
require.NoError(t, err)
out := frameToJSON.Bytes(data.IncludeAll)
require.JSONEq(t, `{"schema":{
"fields":[