1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:00:14 -07:00

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 <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Tobias Klauser 2020-04-14 09:55:08 +02:00 committed by Tobias Klauser
parent f5439d4c68
commit cdaf8b6469

View File

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