fix: tests var init
This commit is contained in:
parent
58e66a8103
commit
fbea444873
@ -42,7 +42,7 @@ func TestIntMinBasic(t *testing.T) {
|
|||||||
// expected outputs are listed in a table and a single loop
|
// expected outputs are listed in a table and a single loop
|
||||||
// walks over them and performs the test logic.
|
// walks over them and performs the test logic.
|
||||||
func TestIntMinTableDriven(t *testing.T) {
|
func TestIntMinTableDriven(t *testing.T) {
|
||||||
var tests = []struct {
|
var tests := []struct {
|
||||||
a, b int
|
a, b int
|
||||||
want int
|
want int
|
||||||
}{
|
}{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user