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
15e34088
Commit
15e34088
authored
Feb 16, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4e1cde26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
t/neo/storage/fs1/py/gen-testdata
t/neo/storage/fs1/py/gen-testdata
+1
-1
t/neo/storage/fs1/testdata_expect.go
t/neo/storage/fs1/testdata_expect.go
+1
-1
No files found.
t/neo/storage/fs1/py/gen-testdata
View file @
15e34088
...
@@ -78,7 +78,7 @@ def main():
...
@@ -78,7 +78,7 @@ def main():
with
open
(
"testdata_expect.go"
,
"w"
)
as
f
:
with
open
(
"testdata_expect.go"
,
"w"
)
as
f
:
def
emit
(
v
):
def
emit
(
v
):
print
>>
f
,
v
print
>>
f
,
v
emit
(
"// DO NOT EDIT - AUTOGENERATED (by gen-testdata)"
)
emit
(
"// DO NOT EDIT - AUTOGENERATED (by
py/
gen-testdata)"
)
emit
(
"package fs1
\
n
"
)
emit
(
"package fs1
\
n
"
)
emit
(
"const _1fs_indexTopPos = %i"
%
stor
.
_pos
)
emit
(
"const _1fs_indexTopPos = %i"
%
stor
.
_pos
)
emit
(
"var _1fs_indexEntryv = [...]indexEntry{"
)
emit
(
"var _1fs_indexEntryv = [...]indexEntry{"
)
...
...
t/neo/storage/fs1/testdata_expect.go
View file @
15e34088
// DO NOT EDIT - AUTOGENERATED (by gen-testdata)
// DO NOT EDIT - AUTOGENERATED (by
py/
gen-testdata)
package
fs1
package
fs1
const
_1fs_indexTopPos
=
8917
const
_1fs_indexTopPos
=
8917
...
...
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