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-09-12 15:57:35 +0300
committerYonaba <roland.yonaba@gmail.com>2018-09-12 15:57:35 +0300
commit6c631261135c1f66223863e6bd469ed9b1b11277 (patch)
tree15be923ddbadd07c758cf405548ab7b7199ec53e
parent9cebe61b396c77a676e3f253f7b512342d95fc82 (diff)
Fixed spec
-rw-r--r--spec/object_spec.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/object_spec.lua b/spec/object_spec.lua
index 2e8dc49..c82bb42 100644
--- a/spec/object_spec.lua
+++ b/spec/object_spec.lua
@@ -396,11 +396,6 @@ describe('Object functions specs', function()
assert.equal(M.result({'a','b','c'},table.concat),'abc')
end)
- it('handles extra-args to be passed to the so-called method',function()
- assert.equal(M.result('Hello','match','%u'),'H')
- assert.equal(M.result({'a','b','c'},table.concat,' '),'a b c')
- end)
-
it('returns the property itself if not callable',function()
assert.equal(M.result({size = 0},'size'),0)
end)