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>
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},
}
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},