Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
31481bea
Commit
31481bea
authored
Mar 16, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e61e6494
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
go/zodb/storage/demo/demo_test.go
go/zodb/storage/demo/demo_test.go
+5
-6
No files found.
go/zodb/storage/demo/demo_test.go
View file @
31481bea
...
...
@@ -111,15 +111,14 @@ func withDemoData(t *testing.T, f func(t *testing.T, ddat *DemoData), optv ...tO
work1
:=
work
+
"/δ"
+
δstart
.
String
()
err
:=
os
.
Mkdir
(
work1
,
0777
);
X
(
err
)
base
:=
work1
+
"/base.fs"
δ
:=
work1
+
"/δ.fs"
base
:=
"file://"
+
work1
+
"/base.fs"
δ
:=
"file://"
+
work1
+
"/δ.fs"
ddat
:=
&
DemoData
{
base
,
δ
}
_
,
err
=
xtesting
.
ZPyRestore
(
base
,
zdumpBase
);
X
(
err
)
// XXX vvv change to demo:(base)/(δ)
// XXX + explain why (restoring copy without original present fails)
_
,
err
=
xtesting
.
ZPyRestore
(
δ
,
zdumpδ
);
X
(
err
)
// XXX + explain why demo instead of δ (restoring copy without original present fails)
_
,
err
=
xtesting
.
ZPyRestore
(
ddat
.
URL
(),
zdumpδ
);
X
(
err
)
ddat
:=
&
DemoData
{
base
,
δ
}
f
(
t
,
ddat
)
})
}
...
...
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