From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp34.i.mail.ru (smtp34.i.mail.ru [94.100.177.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 691F4469719 for ; Wed, 11 Nov 2020 14:53:37 +0300 (MSK) Date: Wed, 11 Nov 2020 14:53:40 +0300 From: Alexander Turenko Message-ID: <20201111115340.xxhad6n6nmmdbk4o@tkn_work_nb> References: <6e71b54cc1c314746dfe9ff143bfcff6f9d0aeca.1603106269.git.artemreyt@tarantool.org> <20201023120931.GA17385@pony.bronevichok.ru> <4c35f2f2-901b-da2f-1ac5-312b59a300e1@tarantool.org> <20201105234659.dpwskwt5diulzphv@tkn_work_nb> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH] luacheck: change global vars to local in sql-tap List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artem Cc: tarantool-patches@dev.tarantool.org > diff --git a/test/sql-tap/trigger2.test.lua b/test/sql-tap/trigger2.test.lua > index 192b707d3..e58af5543 100755 > --- a/test/sql-tap/trigger2.test.lua > +++ b/test/sql-tap/trigger2.test.lua > @@ -61,8 +61,8 @@ test:plan(26) > > box.space._session_settings:update('sql_recursive_triggers', {{'=', 2, false}}) > -- 1. > -ii = 0 > -tbl_definitions = { "CREATE TABLE tbl (id INT PRIMARY KEY AUTOINCREMENT, a INTEGER UNIQUE, b INT );", > +local ii = 0 > +local tbl_definitions = { "CREATE TABLE tbl (id INT PRIMARY KEY AUTOINCREMENT, a INTEGER UNIQUE, b INT );", > "CREATE TABLE tbl (id INT PRIMARY KEY AUTOINCREMENT, a INT UNIQUE, b INT );", > "CREATE TABLE tbl (id INT PRIMARY KEY AUTOINCREMENT, a INT, b INT UNIQUE );", > "CREATE TABLE tbl (id INT PRIMARY KEY AUTOINCREMENT, a INT, b INTEGER UNIQUE );"} Nit: CREATE TABLE statements were indented on the same column, but now they're not.