diff options
author | Thomas Harning Jr <harningt@gmail.com> | 2011-01-15 19:51:21 -0500 |
---|---|---|
committer | Thomas Harning Jr <harningt@gmail.com> | 2011-01-15 19:51:21 -0500 |
commit | 1153affe43bbc7f929213e0a5d6f8b5189cc45bd (patch) | |
tree | 1e63a88fdebccabf3529fa9c697c3f43b067c673 /test/basic.lua | |
parent | 24cac1c1bcf4b0dc3188f72934d2881692829e61 (diff) | |
parent | d6cfe3ef1bc7d3c489abe394830211906e650d2c (diff) | |
download | luaevent-prosody-1153affe43bbc7f929213e0a5d6f8b5189cc45bd.tar.gz luaevent-prosody-1153affe43bbc7f929213e0a5d6f8b5189cc45bd.zip |
Merge branch 'prosody-tree'
Diffstat (limited to 'test/basic.lua')
-rw-r--r-- | test/basic.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/basic.lua b/test/basic.lua new file mode 100644 index 0000000..4ec72c4 --- /dev/null +++ b/test/basic.lua @@ -0,0 +1,8 @@ +require "luaevent" + +print("Version:", luaevent._NAME.." "..luaevent._VERSION) +print("libevent version:", luaevent.core.libevent_version()) +print("") +base = luaevent.core.new() +print("Testing creating base object:", type(base) == "userdata" and "OK" or "FAIL") +print("libevent backend:", base:method()) |