mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2025-03-25 21:18:08 +02:00
Gofmt sqlmock_test.go
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
This commit is contained in:
parent
d4b2bccf3e
commit
c6bf1c0f76
@ -638,9 +638,9 @@ func TestGoroutineExecutionWithUnorderedExpectationMatching(t *testing.T) {
|
|||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
queries := map[string][]interface{}{
|
queries := map[string][]interface{}{
|
||||||
"one": []interface{}{"one"},
|
"one": {"one"},
|
||||||
"two": []interface{}{"one", "two"},
|
"two": {"one", "two"},
|
||||||
"three": []interface{}{"one", "two", "three"},
|
"three": {"one", "two", "three"},
|
||||||
}
|
}
|
||||||
|
|
||||||
wg.Add(len(queries))
|
wg.Add(len(queries))
|
||||||
@ -678,9 +678,9 @@ func ExampleSqlmock_goroutines() {
|
|||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
queries := map[string][]interface{}{
|
queries := map[string][]interface{}{
|
||||||
"one": []interface{}{"one"},
|
"one": {"one"},
|
||||||
"two": []interface{}{"one", "two"},
|
"two": {"one", "two"},
|
||||||
"three": []interface{}{"one", "two", "three"},
|
"three": {"one", "two", "three"},
|
||||||
}
|
}
|
||||||
|
|
||||||
wg.Add(len(queries))
|
wg.Add(len(queries))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user