瀏覽代碼

Fix tests;

bjorn 8 年之前
父節點
當前提交
a4337fecc6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tests/observable.lua

+ 2 - 2
tests/observable.lua

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