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

Migrated to munit instead of scalatest #339

Merged
merged 6 commits into from Dec 18, 2022

Conversation

Guisanpea
Copy link
Contributor

No description provided.

Copy link
Collaborator

@BenFradet BenFradet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@zmccoy
Copy link
Member

zmccoy commented Jan 12, 2022

@Guisanpea Looks like this needs to have scalaFmtAll run over it :)

@zmccoy zmccoy requested a review from zarthross January 12, 2022 16:08
@codecov-commenter
Copy link

codecov-commenter commented Feb 8, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (4cfb4b0) compared to base (b74e8f1).
Patch has no changes to coverable lines.

❗ Current head 4cfb4b0 differs from pull request most recent head 5756f2d. Consider uploading reports for the commit 5756f2d to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #339   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           25        25           
=========================================
  Hits            25        25           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Guisanpea
Copy link
Contributor Author

Hi @zmccoy check if now everything is all right :)

val result = serializeFoos(AsyncParser.UnwrapArray, fooStream(fooStdStream, fooVector))
.through(stringArrayParser)
.through(chunkDecoder[IO, Foo2])
.compile
.toVector
.attempt
result.map(r => assert(r.isLeft && r.left.get.isInstanceOf[DecodingFailure]))
} else {
IO.pure(())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of returning an IO.pure(()) it would be better to return a PropF.undecided and let scalacheck know that the generated values are being thrown away.

@armanbilge
Copy link
Collaborator

Hi @Guisanpea 👋 I'm a maintainer here now and happy to see this PR :) are you still able to work on it?

@armanbilge armanbilge merged commit c1a8559 into circe:master Dec 18, 2022
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.

None yet

6 participants