diff options
author | Remco Bloemen <remco@wicked.ventures> | 2018-12-21 06:59:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2019-01-11 18:26:38 +0800 |
commit | 4d03c3035c9186d4a05b159f8209cda046b397a3 (patch) | |
tree | a3d8b0315c2cd300c97a3c43b764c56a352ffa8b /packages | |
parent | 27c4d2522bc5eb35851e6d86bf4bc7a31b3386e5 (diff) | |
download | dexon-0x-contracts-4d03c3035c9186d4a05b159f8209cda046b397a3.tar.gz dexon-0x-contracts-4d03c3035c9186d4a05b159f8209cda046b397a3.tar.zst dexon-0x-contracts-4d03c3035c9186d4a05b159f8209cda046b397a3.zip |
Fix typo
Diffstat (limited to 'packages')
-rw-r--r-- | packages/sol-coverage/src/coverage_subprovider.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-coverage/src/coverage_subprovider.ts b/packages/sol-coverage/src/coverage_subprovider.ts index e6b546c4a..21d25ed74 100644 --- a/packages/sol-coverage/src/coverage_subprovider.ts +++ b/packages/sol-coverage/src/coverage_subprovider.ts @@ -74,7 +74,7 @@ export const coverageHandler: SingleFileSubtraceHandler = ( let sourceRanges = _.map(subtrace, structLog => pcToSourceRange[structLog.pc]); sourceRanges = _.compact(sourceRanges); // Some PC's don't map to a source range and we just ignore them. - // By default lodash does a shallow object comparasion. We JSON.stringify them and compare as strings. + // By default lodash does a shallow object comparison. We JSON.stringify them and compare as strings. sourceRanges = _.uniqBy(sourceRanges, s => JSON.stringify(s)); // We don't care if one PC was covered multiple times within a single transaction sourceRanges = _.filter(sourceRanges, sourceRange => sourceRange.fileName === absoluteFileName); const branchCoverage: BranchCoverage = {}; |