summaryrefslogtreecommitdiff
path: root/tests/modules/fwatcher/watchdir.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-23 00:53:35 +0800
committerruki <[email protected]>2022-07-23 00:53:35 +0800
commit73f9ee4974fcf8899baf2cf34dbbdf739eaf4975 (patch)
tree342dc75f0a01a2247c7ee93d0d2ea65dfc7c730f /tests/modules/fwatcher/watchdir.lua
parentbf3a38003ae5b93010dd0d8b70155bf1b1ee305a (diff)
improve tests
Diffstat (limited to 'tests/modules/fwatcher/watchdir.lua')
-rw-r--r--tests/modules/fwatcher/watchdir.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/modules/fwatcher/watchdir.lua b/tests/modules/fwatcher/watchdir.lua
index d73d7ff9f..3bd8e8897 100644
--- a/tests/modules/fwatcher/watchdir.lua
+++ b/tests/modules/fwatcher/watchdir.lua
@@ -1,6 +1,7 @@
import("core.base.fwatcher")
function main(watchdir)
+ print("watch %s ..", watchdir)
fwatcher.add(watchdir)
while true do
local ok, event = fwatcher.wait(-1)