Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Yonaba/Moses.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonaba <roland.yonaba@gmail.com>2018-08-23 11:27:04 +0300
committerYonaba <roland.yonaba@gmail.com>2018-08-23 11:27:04 +0300
commit5de1134eec5b86b349474cf64886467aabf21166 (patch)
treea72b67075522278bd12c085de4592b938c817c86
parent67b14208409b1a10dba22e61860594b77d8bec6c (diff)
Removed failing spec (pcall(pairs(true)) with Lua 5.3.5
-rw-r--r--spec/object_spec.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/object_spec.lua b/spec/object_spec.lua
index cbf100c..5327ea5 100644
--- a/spec/object_spec.lua
+++ b/spec/object_spec.lua
@@ -441,8 +441,7 @@ describe('Object functions specs', function()
it('checks if the given object is iterable with pairs',function()
assert.is_true(M.isIterable({}))
- assert.is_false(M.isIterable(false))
- assert.is_false(M.isIterable(1))
+ assert.is_true(M.isIterable({1,2,3}))
end)
end)