From c6bf1c0f76840e0fe1df116749cc9a1ee3c9a1aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Lipt=C3=A1k?= Date: Sat, 20 Oct 2018 15:47:45 -0400 Subject: [PATCH] Gofmt sqlmock_test.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gábor Lipták --- sqlmock_test.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sqlmock_test.go b/sqlmock_test.go index e56ec03..6f28072 100644 --- a/sqlmock_test.go +++ b/sqlmock_test.go @@ -638,9 +638,9 @@ func TestGoroutineExecutionWithUnorderedExpectationMatching(t *testing.T) { var wg sync.WaitGroup queries := map[string][]interface{}{ - "one": []interface{}{"one"}, - "two": []interface{}{"one", "two"}, - "three": []interface{}{"one", "two", "three"}, + "one": {"one"}, + "two": {"one", "two"}, + "three": {"one", "two", "three"}, } wg.Add(len(queries)) @@ -678,9 +678,9 @@ func ExampleSqlmock_goroutines() { var wg sync.WaitGroup queries := map[string][]interface{}{ - "one": []interface{}{"one"}, - "two": []interface{}{"one", "two"}, - "three": []interface{}{"one", "two", "three"}, + "one": {"one"}, + "two": {"one", "two"}, + "three": {"one", "two", "three"}, } wg.Add(len(queries))