]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/obj/riscv: gofmt
authorTobias Klauser <tklauser@distanz.ch>
Tue, 14 Apr 2020 07:55:08 +0000 (09:55 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 14 Apr 2020 18:52:52 +0000 (18:52 +0000)
gofmt the changes from CL 226397

Change-Id: Ibb252ddb8164573af15fc882ac48b5c01dd87cf3
Reviewed-on: https://go-review.googlesource.com/c/go/+/228059
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go

index b0ab5f72aa0ddcf0dd336f264e406814a40c8651..803ba8c77c192accc16d2f579f05b1efabc2bc43 100644 (file)
@@ -22,11 +22,11 @@ func testBLTZ(a int64) (r bool)
 func testBNEZ(a int64) (r bool)
 
 func TestBranchCondition(t *testing.T) {
-       tests := []struct{
-               ins string
-               a int64
-               b int64
-               fn func(a, b int64) bool
+       tests := []struct {
+               ins  string
+               a    int64
+               b    int64
+               fn   func(a, b int64) bool
                want bool
        }{
                {"BGT", 0, 1, testBGT, true},
@@ -59,10 +59,10 @@ func TestBranchCondition(t *testing.T) {
 }
 
 func TestBranchZero(t *testing.T) {
-       tests := []struct{
-               ins string
-               a int64
-               fn func(a int64) bool
+       tests := []struct {
+               ins  string
+               a    int64
+               fn   func(a int64) bool
                want bool
        }{
                {"BEQZ", -1, testBEQZ, false},