Refactoring and testing #7
70.45% of diff hit (target 48.17%)
View this Pull Request on Codecov
70.45% of diff hit (target 48.17%)
Annotations
Check warning on line 44 in cmd/disable/disable.go
codecov / codecov/patch
cmd/disable/disable.go#L44
Added line #L44 was not covered by tests
Check warning on line 42 in cmd/enable/enable.go
codecov / codecov/patch
cmd/enable/enable.go#L42
Added line #L42 was not covered by tests
Check warning on line 18 in cmd/fmt/fmt.go
codecov / codecov/patch
cmd/fmt/fmt.go#L18
Added line #L18 was not covered by tests
Check warning on line 23 in cmd/fmt/fmt.go
codecov / codecov/patch
cmd/fmt/fmt.go#L23
Added line #L23 was not covered by tests
Check warning on line 29 in cmd/fmt/fmt.go
codecov / codecov/patch
cmd/fmt/fmt.go#L27-L29
Added lines #L27 - L29 were not covered by tests
Check warning on line 20 in cmd/json/json.go
codecov / codecov/patch
cmd/json/json.go#L20
Added line #L20 was not covered by tests
Check warning on line 25 in cmd/json/json.go
codecov / codecov/patch
cmd/json/json.go#L25
Added line #L25 was not covered by tests
Check warning on line 30 in cmd/json/json.go
codecov / codecov/patch
cmd/json/json.go#L30
Added line #L30 was not covered by tests
Check warning on line 40 in cmd/print/print.go
codecov / codecov/patch
cmd/print/print.go#L40
Added line #L40 was not covered by tests
Check warning on line 67 in cmd/print/print.go
codecov / codecov/patch
cmd/print/print.go#L67
Added line #L67 was not covered by tests
Check warning on line 98 in cmd/set/set.go
codecov / codecov/patch
cmd/set/set.go#L98
Added line #L98 was not covered by tests
Check warning on line 39 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L39
Added line #L39 was not covered by tests
Check warning on line 44 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L44
Added line #L44 was not covered by tests
Check warning on line 52 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L46-L52
Added lines #L46 - L52 were not covered by tests
Check warning on line 61 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L61
Added line #L61 was not covered by tests
Check warning on line 106 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L106
Added line #L106 was not covered by tests
Check warning on line 122 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L122
Added line #L122 was not covered by tests
Check warning on line 128 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L128
Added line #L128 was not covered by tests
Check warning on line 137 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L137
Added line #L137 was not covered by tests
Check warning on line 139 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L139
Added line #L139 was not covered by tests
Check warning on line 154 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L154
Added line #L154 was not covered by tests
Check warning on line 163 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L163
Added line #L163 was not covered by tests
Check warning on line 176 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L176
Added line #L176 was not covered by tests
Check warning on line 182 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L182
Added line #L182 was not covered by tests
Check warning on line 184 in cmd/update/update.go
codecov / codecov/patch
cmd/update/update.go#L184
Added line #L184 was not covered by tests