Skip to content
Snippets Groups Projects
Commit 6e55c30c authored by Sergey Bronnikov's avatar Sergey Bronnikov Committed by Kirill Yukhin
Browse files

test: fix luacheck warnings in test/xlog

parent 6e047567
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ exclude_files = { ...@@ -46,7 +46,7 @@ exclude_files = {
"test/var/**/*.lua", "test/var/**/*.lua",
"test/vinyl/**/*.lua", "test/vinyl/**/*.lua",
"test/wal_off/**/*.lua", "test/wal_off/**/*.lua",
"test/xlog/**/*.lua", "test/xlog/*.test.lua",
"test/xlog-py/**/*.lua", "test/xlog-py/**/*.lua",
"third_party/**/*.lua", "third_party/**/*.lua",
".rocks/**/*.lua", ".rocks/**/*.lua",
......
#!/usr/bin/env tarantool #!/usr/bin/env tarantool
os = require('os') local os = require('os')
box.cfg{ box.cfg{
listen = os.getenv("LISTEN"), listen = os.getenv("LISTEN"),
......
box.cfg{} box.cfg{}
s1 = box.schema.create_space('test1') local s1 = box.schema.create_space('test1')
pk = s1:create_index('pk', {sequence = true}) s1:create_index('pk', {sequence = true})
s1:replace{box.NULL} s1:replace{box.NULL}
seq2 = box.schema.sequence.create('seq2') box.schema.sequence.create('seq2')
s2 = box.schema.create_space('test2') local s2 = box.schema.create_space('test2')
pk = s2:create_index('pk', {sequence = 'seq2'}) s2:create_index('pk', {sequence = 'seq2'})
s2:replace{box.NULL} s2:replace{box.NULL}
seq3 = box.schema.sequence.create('seq3') local seq3 = box.schema.sequence.create('seq3')
seq3:next() seq3:next()
box.snapshot() box.snapshot()
#!/usr/bin/env tarantool #!/usr/bin/env tarantool
os = require('os') local os = require('os')
box.cfg{ box.cfg{
listen = os.getenv("LISTEN"), listen = os.getenv("LISTEN"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment