Small cosmetic fix
This commit is contained in:
parent
6391e25154
commit
27d98a8660
@ -123,7 +123,7 @@ func logResultItem(w io.Writer, f log.Fields) error {
|
|||||||
|
|
||||||
if index == totalCount-1 {
|
if index == totalCount-1 {
|
||||||
if isDone == true {
|
if isDone == true {
|
||||||
fmt.Fprintf(w, "└┬──────────────┬──────────────┬──────────────────┬┘\n")
|
fmt.Fprintf(w, "└┬──────────────┬─────────────┬───────────────────┬┘\n")
|
||||||
} else {
|
} else {
|
||||||
// We want the incomplete section to not have a footer
|
// We want the incomplete section to not have a footer
|
||||||
fmt.Fprintf(w, "└──────────────────────────────────────────────────┘\n")
|
fmt.Fprintf(w, "└──────────────────────────────────────────────────┘\n")
|
||||||
@ -144,12 +144,12 @@ func logResultSummary(w io.Writer, f log.Fields) error {
|
|||||||
fmt.Fprintf(w, " ooni run websites\n")
|
fmt.Fprintf(w, " ooni run websites\n")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
// └┬──────────────┬──────────────┬──────────────┬
|
// └┬──────────────┬─────────────┬───────────────┬
|
||||||
fmt.Fprintf(w, " │ %s │ %s │ %s │\n",
|
fmt.Fprintf(w, " │ %s │ %s │ %s │\n",
|
||||||
utils.RightPad(fmt.Sprintf("%d tests", tests), 12),
|
utils.RightPad(fmt.Sprintf("%d tests", tests), 12),
|
||||||
utils.RightPad(fmt.Sprintf("%d nets", networks), 12),
|
utils.RightPad(fmt.Sprintf("%d nets", networks), 11),
|
||||||
utils.RightPad(fmt.Sprintf("⬆ %s ⬇ %s", formatSize(dataUp), formatSize(dataDown)), 16))
|
utils.RightPad(fmt.Sprintf("⬆ %s ⬇ %s", formatSize(dataUp), formatSize(dataDown)), 16))
|
||||||
fmt.Fprintf(w, " └──────────────┴──────────────┴──────────────────┘\n")
|
fmt.Fprintf(w, " └──────────────┴─────────────┴───────────────────┘\n")
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user