diff options
author | Rhett Aultman <roadriverrail@gmail.com> | 2016-12-12 15:06:57 +0800 |
---|---|---|
committer | Rhett Aultman <rhett.aultman@meraki.net> | 2017-01-17 01:32:57 +0800 |
commit | 8f25bd54e35dba3fb632c2d209a86acaba63d33d (patch) | |
tree | d807179523d3922623859a7dab241e2bcbd3678a /test/libsolidity | |
parent | 071b936b371cd5287717d0ac27b80b837836809a (diff) | |
download | dexon-solidity-8f25bd54e35dba3fb632c2d209a86acaba63d33d.tar.gz dexon-solidity-8f25bd54e35dba3fb632c2d209a86acaba63d33d.tar.zst dexon-solidity-8f25bd54e35dba3fb632c2d209a86acaba63d33d.zip |
Drop ':' if the source file name is empty
A large number of tests compile contracts while passing in an empty
string for the source name. This leads to it being keyed by the name
":<contract>", while the tests try to look it up under the name
"<contract>". This change resolves that issue by dropping the ':' in
cases where there is, effectively, no source file to prepend anyway.
Diffstat (limited to 'test/libsolidity')
0 files changed, 0 insertions, 0 deletions