Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
asoong committed Aug 1, 2018
1 parent 5b499d3 commit afb6bb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .solcover.js
Expand Up @@ -5,7 +5,6 @@ module.exports = {
'Migrations.sol',
'mocks',
'external',
'core/exchange-wrappers/ZeroExExchangeWrapper.sol',
'core/exchange-wrappers/lib/ZeroExOrderDataHandler.sol'
'core/exchange-wrappers/ZeroExExchangeWrapper.sol'
],
};
Expand Up @@ -79,7 +79,7 @@ library ZeroExOrderDataHandler {
returns(address)
{
// Ensure that the asset is ERC20
require(ERC20_SELECTOR == _assetData.readBytes4(0));
require(_assetData.readBytes4(0) == ERC20_SELECTOR);

// Return address
return address(_assetData.readBytes32(4));
Expand Down

0 comments on commit afb6bb7

Please sign in to comment.