summaryrefslogtreecommitdiff
path: root/tests/modules/string
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-21 12:26:26 +0800
committerTitanSnow <[email protected]>2017-05-21 12:26:26 +0800
commitb6724648232ed892301457c05cf5ec4deaefc2ed (patch)
tree6d8b12880668ddbe731e71e03ad6c112efb79a21 /tests/modules/string
parente78350a94d63e5c220b22277368a77c374287ff2 (diff)
add tests for string
Diffstat (limited to 'tests/modules/string')
-rw-r--r--tests/modules/string/test.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/modules/string/test.lua b/tests/modules/string/test.lua
new file mode 100644
index 000000000..b2e7a23c7
--- /dev/null
+++ b/tests/modules/string/test.lua
@@ -0,0 +1,4 @@
+function main()
+ assert(string.less("awd","dwa"))
+ assert(not string.less("dwa","awd"))
+end