Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszcl committed Jan 8, 2025
1 parent 96f78d2 commit d07b6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/flakeguard/reports/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ func GenerateSummaryData(tests []TestResult, maxPassRatio float64) SummaryData {

// Helper function to convert a float ratio into a trimmed string
formatRatio := func(val float64) string {
// Format with 5 decimal places
// Format with 4 decimal places
s := fmt.Sprintf("%.4f", val)
// Trim trailing zeros
s = strings.TrimRight(s, "0")
Expand Down

0 comments on commit d07b6b2

Please sign in to comment.