Fix tests;

This commit is contained in:
bjorn 2017-05-25 16:20:37 -07:00
parent 449e29b31c
commit a4337fecc6

View File

@ -191,8 +191,8 @@ describe('Observable', function()
local onNextB = observableSpy(observable)
repeat Rx.scheduler:update()
until Rx.scheduler:isEmpty()
expect(onNextA).to.equal({{2}})
expect(onNextB).to.equal({{1}, {3}})
expect(onNextA).to.equal({{1}, {3}})
expect(onNextB).to.equal({{2}})
end)
it('uses a unique coroutine for each Observer when the first argument is a function', function()