improve the error message and test coverage

96fd103073Andrew Kelley committed on 7/4/2019, 4:35:28 AMparentbfe0bf6
4 files changedLine totals unavailable