chore(parser/diff): double max diff length as it is for 2 files now
This commit is contained in:
parent
a16cf89244
commit
1c559ed2e5
|
@ -14,7 +14,7 @@ type Output struct {
|
|||
CompareSpace bool
|
||||
AlwaysHide bool
|
||||
ForceQuitOnDiff bool
|
||||
MaxDiffLength int `default:"2048"` // just for reference
|
||||
MaxDiffLength int `default:"4096"` // just for reference
|
||||
MaxDiffLines int `default:"50"` // just for reference
|
||||
HideCommonPrefix bool
|
||||
}
|
||||
|
|
|
@ -119,7 +119,7 @@ func (d *Diff) processOutput(output Output, result stage.ExecutorResult, conf *C
|
|||
// generateDiffComment generates a diff comment for the given strings.
|
||||
func (d *Diff) generateDiffComment(answerStr, resultStr string, output Output) string {
|
||||
if output.MaxDiffLength == 0 { // real default value
|
||||
output.MaxDiffLength = 2048
|
||||
output.MaxDiffLength = 4096
|
||||
}
|
||||
if output.MaxDiffLines == 0 { // real default value
|
||||
output.MaxDiffLines = 50
|
||||
|
|
Loading…
Reference in New Issue
Block a user