From: Tobias Klauser Date: Wed, 27 Sep 2023 07:04:38 +0000 (+0200) Subject: cmp: gofmt X-Git-Tag: go1.22rc1~729 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6a4a5966c331ce661467028165a788c4ee1cc3c4;p=gostls13.git cmp: gofmt Change-Id: Icdd373c9bae20ce08a21eb54b424067bd17f1f79 Reviewed-on: https://go-review.googlesource.com/c/go/+/531236 Reviewed-by: Ian Lance Taylor Auto-Submit: Tobias Klauser LUCI-TryBot-Result: Go LUCI Reviewed-by: Than McIntosh --- diff --git a/src/cmp/cmp_test.go b/src/cmp/cmp_test.go index 0bb39c6941..dcf783af51 100644 --- a/src/cmp/cmp_test.go +++ b/src/cmp/cmp_test.go @@ -8,8 +8,8 @@ import ( "cmp" "fmt" "math" - "sort" "slices" + "sort" "testing" ) @@ -133,9 +133,9 @@ func ExampleOr() { func ExampleOr_sort() { type Order struct { - Product string + Product string Customer string - Price float64 + Price float64 } orders := []Order{ {"foo", "alice", 1.00},