Skip to content

Instrument empty contract bodies correctly #58

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

Merged
merged 1 commit into from
Jul 6, 2017
Merged

Conversation

cgewecke
Copy link
Member

@cgewecke cgewecke commented Jul 6, 2017

Slightly modifies the ContractStatement injection so that it can handle case where there is no whitespace between the opening and closing brackets of an empty contract declaration. Adds a test.

@codecov-io
Copy link

codecov-io commented Jul 6, 2017

Codecov Report

Merging #58 into master will not change coverage.
The diff coverage is 66.66%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #58   +/-   ##
=======================================
  Coverage   97.35%   97.35%           
=======================================
  Files           6        6           
  Lines         340      340           
  Branches       81       81           
=======================================
  Hits          331      331           
  Misses          9        9
Impacted Files Coverage Δ
lib/parse.js 93.75% <66.66%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f8089f...01a852a. Read the comment docs.

@cgewecke cgewecke merged commit 1c90205 into master Jul 6, 2017
@cgewecke cgewecke deleted the empty-contract-bug branch July 6, 2017 02:42
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