Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an assertion like 'expect(observable).to.produce.error()' to test… #39

Merged
merged 1 commit into from
May 1, 2019

Conversation

naxxster
Copy link
Contributor

@naxxster naxxster commented Mar 27, 2019

This will fix issue #37 .

Added an assertion like 'expect(observable).to.produce.error()' to test 'onError'.

Fixed wrong test codes with the assertion.

Changed the behaviors of the following functions caused by argument types, to raise an error in the creation phase.

  • Observable.defer
  • Observable:buffer
  • Observable:elementAt
  • Observable:skipLast
  • Observable:takeLast
  • Observable:window

… 'onError'.

Fixed wrong test codes with the assertion.

Changed the behaviors of the following functions caused by argument types, to raise an error in the creation phase.

- Observable.defer
- Observable:buffer
- Observable:elementAt
- Observable:skipLast
- Observable:takeLast
- Observable:window
@bjornbytes
Copy link
Owner

This is some great cleanup, thank you. And sorry about the delay in merging this!

@bjornbytes bjornbytes merged commit cf92f8e into bjornbytes:master May 1, 2019
@naxxster naxxster deleted the fix-onError-test-code branch May 2, 2019 08:41
4O4 pushed a commit to 4O4/lua-reactivex that referenced this pull request Oct 2, 2019
Add an assertion like 'expect(observable).to.produce.error()' to test…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants