-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support AST parsing with -trimpath flag (#4)
* Support AST parsing with -trimpath flag Checking the trimmed path to see if some suffix is a valid filepath is probably not a perfect system, but it should be able to work at least some of the time, which is better than nothing. Also test on windows, because managing filepaths is hard. * Make eventually test more lenient It turns out not every machine has enough juice to get an extra goroutine running in the 10ms I was giving it.
- Loading branch information
Showing
4 changed files
with
48 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ tasks: | |
- when: all | ||
task: lint | ||
- go test ./... | ||
- go test -trimpath ./... |