Drop the failure contract's unused version constant: a result names its build module with By (issue 1901)
This commit is contained in:
@@ -31,10 +31,6 @@ type Failure struct {
|
||||
Output string `json:"output,omitempty"`
|
||||
}
|
||||
|
||||
// Version is the version of this contract a build module names in its result (Result.Contract): 1 is the first, a
|
||||
// failure with a Cause that is never a passing line and an Output of the failing test's own lines.
|
||||
const Version = 1
|
||||
|
||||
// OutputBytes is the most a failure keeps of its output, and LineBytes the most of one line: four kilobytes holds a long
|
||||
// assertion message and stays far under a bus message's or a verdict's bound.
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user