Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
4eb6b65e
Commit
4eb6b65e
authored
Oct 22, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
25c8ad3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+3
-3
No files found.
wcfs/wcfs_test.py
View file @
4eb6b65e
...
@@ -1228,7 +1228,7 @@ def test_wcfs_basic():
...
@@ -1228,7 +1228,7 @@ def test_wcfs_basic():
# f @at1
# f @at1
f1
=
t
.
open
(
zf
,
at
=
at1
)
f1
=
t
.
open
(
zf
,
at
=
at1
)
f1
.
assertCache
([
0
,
0
,
1
])
f1
.
assertCache
([
0
,
0
,
1
])
f1
.
assertData
([
''
,
''
,
'c1'
])
# XXX + mtime=at1?
f1
.
assertData
([
''
,
''
,
'c1'
])
# TODO + mtime=at1
# >>> (@at3) commit again without changing zf size
# >>> (@at3) commit again without changing zf size
...
@@ -1250,11 +1250,11 @@ def test_wcfs_basic():
...
@@ -1250,11 +1250,11 @@ def test_wcfs_basic():
# f @at2
# f @at2
# NOTE f(2) is accessed but via @at/ not head/ ; f(2) in head/zf remains unaccessed
# NOTE f(2) is accessed but via @at/ not head/ ; f(2) in head/zf remains unaccessed
f2
.
assertCache
([
0
,
0
,
1
,
0
,
0
,
0
])
f2
.
assertCache
([
0
,
0
,
1
,
0
,
0
,
0
])
f2
.
assertData
([
''
,
''
,
'c2'
,
'd2'
,
''
,
'f2'
])
# XXX mtime=at2?
f2
.
assertData
([
''
,
''
,
'c2'
,
'd2'
,
''
,
'f2'
])
# TODO mtime=at2
# f @at1
# f @at1
f1
.
assertCache
([
1
,
1
,
1
])
f1
.
assertCache
([
1
,
1
,
1
])
f1
.
assertData
([
''
,
''
,
'c1'
])
# XXX mtime=at1?
f1
.
assertData
([
''
,
''
,
'c1'
])
# TODO mtime=at1
# >>> f close / open again -> cache must not be lost
# >>> f close / open again -> cache must not be lost
...
...
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