Keep transcript decoding and encoding on typed data
This commit is contained in:
@@ -378,11 +378,11 @@ func (f processFixture) readTranscript(t *testing.T, path string) *schema.Transc
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
transcript, err := schema.ParseTranscriptJSON(raw)
|
||||
transcript, err := schema.ParseSourceTranscriptJSON(raw)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
return transcript
|
||||
return transcript.Canonical()
|
||||
}
|
||||
|
||||
func (f processFixture) debugArtifacts(t *testing.T) (*schema.Transcript, []map[string]json.RawMessage) {
|
||||
|
||||
Reference in New Issue
Block a user