Updated README.md and tests for lume.combine()

This commit is contained in:
rxi
2014-04-28 12:47:42 +01:00
parent 283f7ee787
commit fff0d780bb
2 changed files with 7 additions and 2 deletions

View File

@@ -294,6 +294,10 @@ tests["lume.combine"] = function()
local fn = lume.combine(a, b)
fn(10, 20)
testeq( acc, 230 )
acc = 0
fn = lume.combine(nil, a, nil, b, nil)
fn(10, 20)
testeq( acc, 230 )
end
-- lume.lambda