|
@@ -7,6 +7,6 @@ describe('pack', function()
|
|
|
|
|
|
it('wraps elements of the source in tables', function()
|
|
it('wraps elements of the source in tables', function()
|
|
local observable = Rx.Observable.fromTable({4, 5, 6}, ipairs, true):pack()
|
|
local observable = Rx.Observable.fromTable({4, 5, 6}, ipairs, true):pack()
|
|
- expect(observable).to.produce({{{4, 1}}, {{5, 2}}, {{6, 3}}})
|
|
|
|
|
|
+ expect(observable).to.produce({{{4, 1, n = 2}}, {{5, 2, n = 2}}, {{6, 3, n = 2}}})
|
|
end)
|
|
end)
|
|
end)
|
|
end)
|