From c29bbc645b931aa6fb6bff6b0e3da432eedd8ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 22 Nov 2019 11:44:05 +0800 Subject: =?UTF-8?q?=E6=9B=B4=E6=96=B0=20rename?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/test/rename/init.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'server-beta/test/rename') diff --git a/server-beta/test/rename/init.lua b/server-beta/test/rename/init.lua index 8e672e69..a1595d9a 100644 --- a/server-beta/test/rename/init.lua +++ b/server-beta/test/rename/init.lua @@ -147,3 +147,19 @@ function a() end ]] [[ _ENV["!!!"] = function () end ]] + +TEST ('a', 'a.b') [[ +function a() end +a() +]] [[ +function a.b() end +a.b() +]] + +TEST ('a', 'a:b') [[ +function a() end +a() +]] [[ +function a:b() end +a:b() +]] -- cgit v1.2.3