Skip to content

Commit

Permalink
remove obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchetti committed Jan 26, 2024
1 parent e567de6 commit ffbe87e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/inspect/quarto_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,19 +223,3 @@ func (s *QuartoDetectorSuite) TestInferTypeQuartoWebsite() {
},
}, t)
}

// func (s *QuartoDetectorSuite) TestInferTypeEntrypointErr() {
// inferrer := &MockInferenceHelper{}
// testError := errors.New("test error from InferEntrypoint")
// inferrer.On("InferEntrypoint", mock.Anything, ".qmd", mock.Anything).Return("", util.Path{}, testError)

// detector := QuartoDetector{inferrer, nil}
// base := util.NewPath("/project", afero.NewMemMapFs())
// err := base.MkdirAll(0777)
// s.NoError(err)

// t, err := detector.InferType(base)
// s.NotNil(err)
// s.ErrorIs(err, testError)
// s.Nil(t)
// }

0 comments on commit ffbe87e

Please sign in to comment.