Fix `linecount` estimator for `dep-usage` goal

Review Request #2828 - Created Sept. 15, 2015 and submitted

Information
Gabriel Gonzalez
pants
ggonzalez/fix_dep_usage
2203
be03b87...
Reviewers
pants-reviews
jsirois, stuhood

In 8c82cf54, the `file_line_count` function was renamed to `line_count`, but
one of the occurrences was renamed to `linecount` by mistake. This causes the
`dep-usage` goal to fail when provided with the `linecount` estimator.

This change adds a new unit test for the `dep-usage` goal which failed
before the change and succeeds after.

$ ./pants test tests/python/pants_test/util:fileutil

Travis: https://travis-ci.org/pantsbuild/pants/builds/80539535

This was also identified by pylint. After this I'm going to focus on getting larger project-wide pylint-checks to pass.

John Sirois
Gabriel Gonzalez
John Sirois
John Sirois
Gabriel Gonzalez
Review request changed

Status: Closed (submitted)

Loading...