Skip to content

Commit

Permalink
fix TestFileDetector
Browse files Browse the repository at this point in the history
  • Loading branch information
azr committed Jan 31, 2019
1 parent 72fcb20 commit 3af1cab
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions detect_file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ func TestFileDetector(t *testing.T) {
for i, tc := range fileTests {
t.Run(fmt.Sprintf("%d", i), func(t *testing.T) {
pwd := tc.pwd
if !filepath.IsAbs(pwd) {
pwd = filepath.Join(pwdRoot, pwd)
}

out, ok, err := f.Detect(tc.in, pwd)
if err != nil {
Expand Down

0 comments on commit 3af1cab

Please sign in to comment.