Skip to content
Snippets Groups Projects
Commit 19f6e42b authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Kirill Yukhin
Browse files

test: extend console lua test


To make sure ULL constants are not broken.

Part-of #4682

Signed-off-by: default avatarCyrill Gorcunov <gorcunov@gmail.com>
parent ae7e2103
No related branches found
No related tags found
No related merge requests found
......@@ -116,11 +116,26 @@ local cases = {
opts = {block = false},
input = '1, nil, box.NULL, nil',
expected = '1, nil, box.NULL, nil',
}, {
name = 'leading nils, box.NULL, line mode',
opts = {block = false},
input = 'nil, 1, nil, box.NULL, nil',
expected = 'nil, 1, nil, box.NULL, nil',
}, {
name = 'trailing nils, box.NULL, block mode',
opts = {block = true},
input = '1, nil, box.NULL, nil',
expected = '1, nil, box.NULL, nil',
}, {
name = 'ULL constants, multireturn',
opts = {block = false},
input = '-1ULL, -2ULL, 1ULL, 2ULL',
expected = '18446744073709551615, 18446744073709551614, 1, 2',
}, {
name = 'ULL key',
opts = {block = false},
input = '{[-1ULL] = 1}',
expected = '{[18446744073709551615] = 1}',
}, {
name = 'empty output',
input = '\\set output',
......
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