]> Cypherpunks.ru repositories - gostls13.git/commitdiff
cmp: gofmt
authorTobias Klauser <tklauser@distanz.ch>
Wed, 27 Sep 2023 07:04:38 +0000 (09:04 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 28 Sep 2023 17:57:40 +0000 (17:57 +0000)
Change-Id: Icdd373c9bae20ce08a21eb54b424067bd17f1f79
Reviewed-on: https://go-review.googlesource.com/c/go/+/531236
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmp/cmp_test.go

index 0bb39c69410d82e6d381137e44b693e168e69473..dcf783af517c28eea3b3b57700236f2f0e97a4b4 100644 (file)
@@ -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},