From cdaf8b6469b3b17ce296199ed31dca2c0816bcc6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 14 Apr 2020 09:55:08 +0200 Subject: [PATCH] cmd/internal/obj/riscv: gofmt gofmt the changes from CL 226397 Change-Id: Ibb252ddb8164573af15fc882ac48b5c01dd87cf3 Reviewed-on: https://go-review.googlesource.com/c/go/+/228059 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Matt Layher --- .../riscv/testdata/testbranch/branch_test.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go b/src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go index b0ab5f72aa..803ba8c77c 100644 --- a/src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go +++ b/src/cmd/internal/obj/riscv/testdata/testbranch/branch_test.go @@ -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},