Closed SaiedKazemi closed 3 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
parser/pt.go | 1 | 2 | 50.0% | ||
<!-- | Total: | 1 | 2 | 50.0% | --> |
Totals | |
---|---|
Change from base Build 6332: | 0.0% |
Covered Lines: | 3573 |
Relevant Lines: | 5326 |
Starting with this PR, ".json" files for the new "traceroute3" datatype are no longer ignored.
This PR includes some improvements to the testing code of the "parser" package. Specifically, super long lines (some greater than 6,000 characters!) that are used to initialize a string variable are replaced by reading the contents of a file. Also, temporary files created during package testing are now deleted when the test finishes.
The changes were tested as follows: $ git status -s $ go test ./... $ git status -s
This change is