[tarantool-patches] Re: [PATCH 1/2] Convert some tests into a static-types form.

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Apr 19 12:26:59 MSK 2018


> diff --git a/test/sql-tap/table.test.lua b/test/sql-tap/table.test.lua
> index 6e1056193..a4a40747b 100755
> --- a/test/sql-tap/table.test.lua
> +++ b/test/sql-tap/table.test.lua
> @@ -317,7 +317,7 @@ test:do_test(
>       "table-4.1",
>       function()
>           for i = 1, 100, 1 do
> -            local sql = "CREATE TABLE "..string.format("test%03d", i).." (id primary key, "
> +            local INT sql = "CREATE TABLE "..string.format("test%03d", i).." (id INT primary key,  "

Hello. 'local INT sql' - typo? Lua has no types.




More information about the Tarantool-patches mailing list