diff options
author | Yonaba <roland.yonaba@gmail.com> | 2018-09-12 15:57:35 +0300 |
---|---|---|
committer | Yonaba <roland.yonaba@gmail.com> | 2018-09-12 15:57:35 +0300 |
commit | 6c631261135c1f66223863e6bd469ed9b1b11277 (patch) | |
tree | 15be923ddbadd07c758cf405548ab7b7199ec53e | |
parent | 9cebe61b396c77a676e3f253f7b512342d95fc82 (diff) |
Fixed spec
-rw-r--r-- | spec/object_spec.lua | 5 |
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) |