Skip to content

Commit e4e10dd

Browse files
authored
Merge pull request #147 from gliptak/gofmt1
Gofmt sqlmock_test.go
2 parents d4b2bcc + c6bf1c0 commit e4e10dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

sqlmock_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -638,9 +638,9 @@ func TestGoroutineExecutionWithUnorderedExpectationMatching(t *testing.T) {
638638

639639
var wg sync.WaitGroup
640640
queries := map[string][]interface{}{
641-
"one": []interface{}{"one"},
642-
"two": []interface{}{"one", "two"},
643-
"three": []interface{}{"one", "two", "three"},
641+
"one": {"one"},
642+
"two": {"one", "two"},
643+
"three": {"one", "two", "three"},
644644
}
645645

646646
wg.Add(len(queries))
@@ -678,9 +678,9 @@ func ExampleSqlmock_goroutines() {
678678

679679
var wg sync.WaitGroup
680680
queries := map[string][]interface{}{
681-
"one": []interface{}{"one"},
682-
"two": []interface{}{"one", "two"},
683-
"three": []interface{}{"one", "two", "three"},
681+
"one": {"one"},
682+
"two": {"one", "two"},
683+
"three": {"one", "two", "three"},
684684
}
685685

686686
wg.Add(len(queries))

0 commit comments

Comments
 (0)