Tarantool development patches archive
 help / color / mirror / Atom feed
From: sergeyb@tarantool.org
To: tarantool-patches@dev.tarantool.org, v.shpilevoy@tarantool.org,
	alexander.turenko@tarantool.org
Subject: [Tarantool-patches] [PATCH 2/2] test: add regression test for table.clear()
Date: Tue, 28 Jul 2020 16:52:24 +0300	[thread overview]
Message-ID: <a448b2909838bbc065dacf45791634920bfa09a1.1595943364.git.sergeyb@tarantool.org> (raw)
In-Reply-To: <cover.1595943364.git.sergeyb@tarantool.org>

From: Sergey Bronnikov <sergeyb@tarantool.org>

Closes #5210
---
 test/box-tap/gh-5210-table-clear.test.lua | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100755 test/box-tap/gh-5210-table-clear.test.lua

diff --git a/test/box-tap/gh-5210-table-clear.test.lua b/test/box-tap/gh-5210-table-clear.test.lua
new file mode 100755
index 000000000..88f773b22
--- /dev/null
+++ b/test/box-tap/gh-5210-table-clear.test.lua
@@ -0,0 +1,10 @@
+#!/usr/bin/env tarantool
+
+local tap = require('tap')
+local test = tap.test('gh-5210-table-clear')
+
+test:plan(1)
+t = {a = 1, b = 2}
+test:is(table.clear(t), nil, 'table clear')
+
+os.exit(test:check() and 0 or 1)
-- 
2.26.2

  parent reply	other threads:[~2020-07-28 13:52 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-28 13:52 [Tarantool-patches] [PATCH 0/2] Recover of table.clear() method sergeyb
2020-07-28 13:52 ` [Tarantool-patches] [PATCH 1/2] src: return back import " sergeyb
2020-07-28 16:41   ` Alexander Turenko
2020-08-31 11:14     ` Sergey Bronnikov
2020-09-01 13:57       ` Alexander Turenko
2020-08-12 13:03   ` Oleg Babin
2020-08-31 11:18     ` Sergey Bronnikov
2020-07-28 13:52 ` sergeyb [this message]
2020-07-28 16:41   ` [Tarantool-patches] [PATCH 2/2] test: add regression test for table.clear() Alexander Turenko
2020-08-31 11:20     ` Sergey Bronnikov
2020-07-28 16:41 ` [Tarantool-patches] [PATCH 0/2] Recover of table.clear() method Alexander Turenko
2020-09-02  9:49 ` Sergey Bronnikov
2020-09-08 13:25 ` Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a448b2909838bbc065dacf45791634920bfa09a1.1595943364.git.sergeyb@tarantool.org \
    --to=sergeyb@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 2/2] test: add regression test for table.clear()' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox