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

Move execute(Module, ...) to execute_helpers.hpp (testutils) #409

Merged
merged 2 commits into from
Jul 9, 2020

Conversation

chfast
Copy link
Collaborator

@chfast chfast commented Jul 6, 2020

This an overload of execute that takes a module and instantiate it internally. This is convenient for unit tests but rather not desirable in "public" headers. So it is moved to testutils.

@chfast chfast requested review from gumb0 and axic July 6, 2020 19:20
@codecov
Copy link

codecov bot commented Jul 6, 2020

Codecov Report

Merging #409 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #409   +/-   ##
=======================================
  Coverage   99.17%   99.17%           
=======================================
  Files          46       47    +1     
  Lines       13187    13189    +2     
=======================================
+ Hits        13078    13080    +2     
  Misses        109      109           

@chfast chfast force-pushed the execute_helpers branch from dcd800a to 4e939c4 Compare July 7, 2020 09:15
Copy link
Member

@axic axic left a comment

Choose a reason for hiding this comment

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

This is 99% the same what I had, except I named the file differently and left a comment to still remove it. Can't recall why I didn't liked it, so okay to merge.

@chfast chfast force-pushed the execute_helpers branch from 4e939c4 to 7526cf2 Compare July 9, 2020 08:03
@chfast chfast merged commit 53d9e59 into master Jul 9, 2020
@chfast chfast deleted the execute_helpers branch July 9, 2020 08:40
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.

3 participants