Skip to content

Commit

Permalink
chore: latency display with -- when no test data
Browse files Browse the repository at this point in the history
  • Loading branch information
r3inbowari committed Nov 17, 2023
1 parent df4c9b4 commit 4d05306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func main() {
fmt.Println()
}
taskManager.Println("Test Server: " + server.String())
taskManager.Run("Latency: ", func(task *Task) {
taskManager.Run("Latency: --", func(task *Task) {
task.CheckError(server.PingTest(func(latency time.Duration) {
task.Printf("Latency: %v", latency)
}))
Expand Down

0 comments on commit 4d05306

Please sign in to comment.