Commit 21abcf5b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 62bc0072
...@@ -78,6 +78,7 @@ def main(): ...@@ -78,6 +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("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{")
......
// DO NOT EDIT - AUTOGENERATED (by gen-testdata)
package fs1 package fs1
const _1fs_indexTopPos = 8917 const _1fs_indexTopPos = 8917
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment