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

feat(Bag/Set): implements TypeBehind method #168

Merged
merged 2 commits into from
Sep 4, 2021
Merged

Conversation

maxatome
Copy link
Owner

@maxatome maxatome commented Sep 3, 2021

Affects Bag, SubBagOf, SuperBagOf, Set, SubSetOf, SuperSetOf and NotAny.

@coveralls
Copy link

coveralls commented Sep 3, 2021

Pull Request Test Coverage Report for Build 1200988903

  • 48 of 48 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+8.0e**-05%**) to 99.848%

Totals Coverage Status
Change from base Build 1198380538: 8.0e-05%
Covered Lines: 9189
Relevant Lines: 9203

💛 - Coveralls

Affects Bag, SubBagOf, SuperBagOf, Set, SubSetOf, SuperSetOf and NotAny.

It allows to do:

    tdhttp.NewTestAPI(t, handler).
      Get("/people"). // returns [{"name":"Bob"},{"name":"Alice"}]
      CmpStatus(200).
      CmpJSONBody(td.Bag(People{Name: "Alice"}, People{Name: "Bob"}))

Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
Signed-off-by: Maxime Soulé <btik-git@scoubidou.com>
@maxatome maxatome merged commit 65850b3 into master Sep 4, 2021
@maxatome maxatome deleted the bag-typebehind branch September 4, 2021 13:17
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

2 participants