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

protofire / solhint / #1384

14 May 2019 09:15PM UTC coverage: 97.587% (-0.3%) from 97.886%
#1384

push

habdelra
typo

564 of 635 branches covered (88.82%)

1 of 1 new or added line in 1 file covered. (100.0%)

11 existing lines in 2 files now uncovered.

2669 of 2735 relevant lines covered (97.59%)

120.59 hits per line

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

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

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

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

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

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

33
module.exports = { contractWith, funcWith, multiLine, contractWithPrettier }
1✔
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