mirror of
https://github.com/TangentFoxy/lume.git
synced 2025-07-28 02:52:21 +00:00
Updated README.md and tests for lume.combine()
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user