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

make stack-safety-test for tailRecM in MonadTests only fail when checking the test #1507

Merged
merged 1 commit into from
Dec 29, 2016

Conversation

fkz
Copy link

@fkz fkz commented Dec 29, 2016

Previously, already calling MonadTests[Signal].monad[Int, Int, Int].all would cause a StackOverflowError, now this is only caused when executing the test and can be captured e.g. by using check.

In our case, this solved a ScalaTest test suite from aborting and thus not executing any tests to just a failing test.

…king the test

Previously, already calling 'MonadTests[Signal].monad[Int, Int, Int].all' would cause a StackOverflowError, now this is only caused when executing the test and can be captured e.g. by using check.

In our case, this solved a ScalaTest test suite from aborting and thus not executing any tests to just a failing test.
@kailuowang
Copy link
Contributor

👍 on travis green

@johnynek
Copy link
Contributor

👍

@codecov-io
Copy link

Current coverage is 92.07% (diff: 100%)

Merging #1507 into master will not change coverage

@@             master      #1507   diff @@
==========================================
  Files           246        246          
  Lines          3659       3659          
  Methods        3534       3539     +5   
  Messages          0          0          
  Branches        125        120     -5   
==========================================
  Hits           3369       3369          
  Misses          290        290          
  Partials          0          0          

Powered by Codecov. Last update 974b840...bf2bc13

@kailuowang kailuowang merged commit 8ea34eb into typelevel:master Dec 29, 2016
@fkz
Copy link
Author

fkz commented Dec 29, 2016

thanks for the quick merge! can we backport this to 0.8 or somehow otherwise make some release which includes this soonishly?

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.

5 participants