From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 7B67A6F3C7; Fri, 26 Mar 2021 18:17:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7B67A6F3C7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616771842; bh=h1jdbd9v4erx5CI/pFXfF+5/L7Bzs7iRs+0iVmXvPb4=; h=In-Reply-To:Date:References:To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ezwePq4kYHzQ9gb+q/WKtVzs9x8Lzh8R3YefDyz79xsBQXTy4NM/01t8faGKrnGuP ImrkwCs755oa3p/hxhXk6WynU9Pv2ZBwoHdR5qoIqFgMhEvRwv9UV3XPvXBNKLCS/7 xuP7JDvbtDgOHmJi9vwKx715ahAgz3BnaGNOiic8= Received: from smtp51.i.mail.ru (smtp51.i.mail.ru [94.100.177.111]) (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 D1A1F6F3C7 for ; Fri, 26 Mar 2021 18:16:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org D1A1F6F3C7 Received: by smtp51.i.mail.ru with esmtpa (envelope-from ) id 1lPoCi-0006jn-7n; Fri, 26 Mar 2021 18:16:52 +0300 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) In-Reply-To: <946be811cd2557fb65459c0de499cdc62229fdd6.1616743343.git.skaplun@tarantool.org> Date: Fri, 26 Mar 2021 18:14:56 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <053881A0-6F6B-4B32-872B-09B255677A3A@tarantool.org> References: <946be811cd2557fb65459c0de499cdc62229fdd6.1616743343.git.skaplun@tarantool.org> To: Sergey Kaplun X-Mailer: Apple Mail (2.3654.60.0.2.21) X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9ED7173E37F4E32947287414FD1D04A09E656A5F3377C994A182A05F53808504094FF5602F3EAE6C2EE4D9DE274767B85A2FCDB31C1CF5183AA1E6DBBBC163121 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7D9C4478D0B876341EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006379703D7D5B138802D8638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C5DD32608FC869F5D7AFDA95FBEB8446191A7E8D73FB4AA47A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C327ED053E960B195E117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CFD46207C3B60B7C7276E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8BC4A226120BBF08EC3AA81AA40904B5D9DBF02ECDB25306B2201CA6A4E26CD07C3BBE47FD9DD3FB595F5C1EE8F4F765FCA83251EDC214901ED5E8D9A59859A8B682BBBAF5DF00056E089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: 0D63561A33F958A5327C6B44D68C6FE2AAAF7D825014E92BA2DEF5EF8AF8398AD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3498910055B812BD9CE1D1D43D6900621C7A4474C4E021F08301697AA80FB8D97792CFC31CA400E6E51D7E09C32AA3244CABEAB468E9B2A165FB16422CD32088AC4DBEAD0ED6C55A80FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojapPp7P/VpAgOiYJ+3NuCSg== X-Mailru-Sender: 455D65AE3A139168626D8C76E86D3AC0836B2F57D47CE089DD341733D60C29AFDDAC019A3742A8B676D79013C85012CDC77752E0C033A69E4BBE7EBD99111A499D0AB74157175C036C18EFA0BB12DBB0 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH v2 luajit 19/30] test: remove assert for string.gfind check X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sergey Ostanevich via Tarantool-patches Reply-To: Sergey Ostanevich Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" LGTM. Sergos > On 26 Mar 2021, at 10:43, Sergey Kaplun wrote: >=20 > In Lua 5.1 function `string.gfind()` was renamed to `string.gmatch()`. > You can use it if Lua 5.1 is built with compile-time option > `-DLUA_COMPAT_GFIND`. > This built-in is removed from LuaJIT. >=20 > This patch removes test checking that `string.gfind()` and > `string.gmatch() is the same function. >=20 > Part of tarantool/tarantool#5845 > Part of tarantool/tarantool#4473 > --- > test/PUC-Lua-5.1-tests/pm.lua | 1 - > 1 file changed, 1 deletion(-) >=20 > diff --git a/test/PUC-Lua-5.1-tests/pm.lua = b/test/PUC-Lua-5.1-tests/pm.lua > index fa125dc..b159b6b 100644 > --- a/test/PUC-Lua-5.1-tests/pm.lua > +++ b/test/PUC-Lua-5.1-tests/pm.lua > @@ -223,7 +223,6 @@ assert(string.gsub("a alo b hi", "%w%w+", t) =3D=3D = "a ALO b HI") >=20 >=20 > -- tests for gmatch > -assert(string.gfind =3D=3D string.gmatch) > local a =3D 0 > for i in string.gmatch('abcde', '()') do assert(i =3D=3D a+1); a=3Di = end > assert(a=3D=3D6) > --=20 > 2.31.0 >=20