diff --git a/examples/testing/main_test.go b/examples/testing/main_test.go index e409d9d..642a228 100644 --- a/examples/testing/main_test.go +++ b/examples/testing/main_test.go @@ -42,7 +42,7 @@ func TestIntMinBasic(t *testing.T) { // expected outputs are listed in a table and a single loop // walks over them and performs the test logic. func TestIntMinTableDriven(t *testing.T) { - var tests = []struct { + var tests := []struct { a, b int want int }{