Skip to content

Commit

Permalink
Merge branch 'jsdelivr:master' into revise-help-sreens
Browse files Browse the repository at this point in the history
  • Loading branch information
inventarSarah authored Jun 13, 2024
2 parents fb2d7b4 + a64f850 commit f336bc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion view/summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func (v *viewer) OutputSummary() {
if len(v.ctx.AggregatedStats) > 1 {
v.printer.Println() // Add a newline in table view
}
ids := v.ctx.History.ToString("+")
ids := v.ctx.History.ToString(".")
if ids != "" {
v.printer.Println(v.getShareMessage(ids))
}
Expand Down
2 changes: 1 addition & 1 deletion view/summary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ rtt min/avg/max/mdev = -/-/-/- ms
viewer := NewViewer(ctx, NewPrinter(nil, w, w), nil, nil)
viewer.OutputSummary()

expectedOutput := fmt.Sprintf("\n> View the results online: https://www.jsdelivr.com/globalping?measurement=%s+%s\n", measurementID1, measurementID2)
expectedOutput := fmt.Sprintf("\n> View the results online: https://www.jsdelivr.com/globalping?measurement=%s.%s\n", measurementID1, measurementID2)
assert.Equal(t, expectedOutput, w.String())
})

Expand Down

0 comments on commit f336bc4

Please sign in to comment.