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))