summaryrefslogtreecommitdiff
path: root/tests/modules/string
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-21 21:42:54 +0800
committerGitHub <[email protected]>2017-05-21 21:42:54 +0800
commit433c76d7735fc8006ab400850e0e08a4e5bffdc0 (patch)
tree6f04d49bf8868e5981e5918813c02c461d75b8e1 /tests/modules/string
parent83f448dc569b70410765dfe6241fabc351feb54f (diff)
parentb6724648232ed892301457c05cf5ec4deaefc2ed (diff)
Merge pull request #110 from TitanSnow/wincov
add tests for C part
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