Add support for match statements where pattern is const #167
81.46% of diff hit (target 27.90%)
View this Pull Request on Codecov
81.46% of diff hit (target 27.90%)
Annotations
Check warning on line 967 in ast/expressions.go
codecov / codecov/patch
ast/expressions.go#L966-L967
Added lines #L966 - L967 were not covered by tests
Check warning on line 975 in ast/expressions.go
codecov / codecov/patch
ast/expressions.go#L974-L975
Added lines #L974 - L975 were not covered by tests
Check warning on line 979 in ast/expressions.go
codecov / codecov/patch
ast/expressions.go#L978-L979
Added lines #L978 - L979 were not covered by tests
Check warning on line 983 in ast/expressions.go
codecov / codecov/patch
ast/expressions.go#L982-L983
Added lines #L982 - L983 were not covered by tests
Check warning on line 82 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L81-L82
Added lines #L81 - L82 were not covered by tests
Check warning on line 86 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L85-L86
Added lines #L85 - L86 were not covered by tests
Check warning on line 90 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L89-L90
Added lines #L89 - L90 were not covered by tests
Check warning on line 94 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L93-L94
Added lines #L93 - L94 were not covered by tests
Check warning on line 100 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L97-L100
Added lines #L97 - L100 were not covered by tests
Check warning on line 102 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L102
Added line #L102 was not covered by tests
Check warning on line 106 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L105-L106
Added lines #L105 - L106 were not covered by tests
Check warning on line 110 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L109-L110
Added lines #L109 - L110 were not covered by tests
Check warning on line 114 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L113-L114
Added lines #L113 - L114 were not covered by tests
Check warning on line 118 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L117-L118
Added lines #L117 - L118 were not covered by tests
Check warning on line 122 in ast/match_patterns.go
codecov / codecov/patch
ast/match_patterns.go#L121-L122
Added lines #L121 - L122 were not covered by tests
Check warning on line 2094 in ast/node_builder.go
codecov / codecov/patch
ast/node_builder.go#L2094
Added line #L2094 was not covered by tests
Check warning on line 2649 in ast/node_builder.go
codecov / codecov/patch
ast/node_builder.go#L2648-L2649
Added lines #L2648 - L2649 were not covered by tests
Check warning on line 2679 in ast/node_builder.go
codecov / codecov/patch
ast/node_builder.go#L2679
Added line #L2679 was not covered by tests
Check warning on line 2688 in ast/node_builder.go
codecov / codecov/patch
ast/node_builder.go#L2685-L2688
Added lines #L2685 - L2688 were not covered by tests
Check warning on line 2692 in ast/node_builder.go
codecov / codecov/patch
ast/node_builder.go#L2690-L2692
Added lines #L2690 - L2692 were not covered by tests
Check warning on line 2711 in ast/node_builder.go
codecov / codecov/patch
ast/node_builder.go#L2710-L2711
Added lines #L2710 - L2711 were not covered by tests
Check warning on line 539 in ast/pretty_printer.go
codecov / codecov/patch
ast/pretty_printer.go#L539
Added line #L539 was not covered by tests
Check warning on line 773 in ast/pretty_printer.go
codecov / codecov/patch
ast/pretty_printer.go#L768-L773
Added lines #L768 - L773 were not covered by tests
Check warning on line 169 in ast/statements.go
codecov / codecov/patch
ast/statements.go#L169
Added line #L169 was not covered by tests
Check warning on line 233 in ast/statements.go
codecov / codecov/patch
ast/statements.go#L232-L233
Added lines #L232 - L233 were not covered by tests