Documentation
¶
Overview ¶
Package goldens lists the golden files of the conformance suite (fixtures/exports) and says how each one is rendered. The golden test and the conformance runner's format op share it, so the two cannot drift apart.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Transcripts = []string{"escapes", "long-utterances", "multi-renamed", "no-labels", "one-speaker", "over-hour", "translated"}
Transcripts are the transcript fixtures (fixtures/transcripts, without .json).
Functions ¶
Types ¶
type Golden ¶
type Golden struct {
// File is the name under fixtures/exports.
File string
// Transcript is the fixture under fixtures/transcripts, without .json.
Transcript string
// Language is "" for the original.
Language string
// contains filtered or unexported fields
}
Golden is one golden file and how to produce it.