Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-datastore
Commits
f24a416e
Commit
f24a416e
authored
Oct 23, 2018
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly run batch tests
parent
0706d00f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
test/suite.go
test/suite.go
+2
-2
No files found.
test/suite.go
View file @
f24a416e
...
...
@@ -32,8 +32,8 @@ func SubtestAll(t *testing.T, ds dstore.Datastore) {
f
(
t
,
ds
)
})
}
if
_
,
ok
:=
ds
.
(
dstore
.
Batching
);
ok
{
for
_
,
f
:=
range
Ba
sic
Subtests
{
if
ds
,
ok
:=
ds
.
(
dstore
.
Batching
);
ok
{
for
_
,
f
:=
range
Ba
tch
Subtests
{
t
.
Run
(
getFunctionName
(
f
),
func
(
t
*
testing
.
T
)
{
f
(
t
,
ds
)
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment