From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 81BF64696C2 for ; Fri, 8 May 2020 14:48:40 +0300 (MSK) Received: by mail-lj1-f193.google.com with SMTP id y4so1340846ljn.7 for ; Fri, 08 May 2020 04:48:40 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 8 May 2020 14:47:14 +0300 Message-Id: <20200508114714.426908-8-gorcunov@gmail.com> In-Reply-To: <20200508114714.426908-1-gorcunov@gmail.com> References: <20200508114714.426908-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 7/7] test: extend console lua test List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml To make sure ULL constants are not broken. Part-of #4682 Signed-off-by: Cyrill Gorcunov --- test/app-tap/console_lua.test.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/app-tap/console_lua.test.lua b/test/app-tap/console_lua.test.lua index 8bb6eb0b3..3d1c338f4 100755 --- a/test/app-tap/console_lua.test.lua +++ b/test/app-tap/console_lua.test.lua @@ -121,6 +121,16 @@ local cases = { 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', -- 2.26.2