Browse Source

Fix pack test;

bjorn 9 years ago
parent
commit
ef67f406ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/pack.lua

+ 1 - 1
tests/pack.lua

@@ -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)