• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

protofire / solhint / #1841

13 Aug 2019 05:32PM UTC coverage: 97.836% (+1.5%) from 96.34%
#1841

push

fvictorio
2.2.0

603 of 678 branches covered (88.94%)

2893 of 2957 relevant lines covered (97.84%)

118.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.0
/test/common/contract-builder.js
1
function contractWith(code) {
1✔
2
  return `
3
      pragma solidity 0.4.4;
4
        
209✔
5
        
6
      contract A {
7
        ${code}
8
      }
9
    `
10
}
11

12
function funcWith(statements) {
13
  return contractWith(`
14
      function b() public {
15
        ${statements}
127✔
16
      }
17
    `)
18
}
19

20
function multiLine(...args) {
21
  return args.join('\n')
22
}
23

25✔
24
function contractWithPrettier(code) {
25
  return `pragma solidity 0.4.4;
26

27
contract A {
×
28
  ${code}
29
}
30
`
31
}
32

33
module.exports = { contractWith, funcWith, multiLine, contractWithPrettier }
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc