Skip to content

Commit

Permalink
Adds gauge_concepts_dir for defining concepts directory
Browse files Browse the repository at this point in the history
Signed-off-by: Haroon Sheikh <[email protected]>
Signed-off-by: Haroon Sheikh <[email protected]>
  • Loading branch information
haroon-sheikh committed Jul 20, 2023
1 parent 3af80c8 commit 9950653
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion util/fileUtils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ func (s *MySuite) SetUpTest(c *C) {
var err error
dir, err = os.MkdirTemp("", "gaugeTest")
c.Assert(err, Equals, nil)
defer os.Clearenv()
}

func (s *MySuite) TearDownTest(c *C) {
err := os.RemoveAll(dir)
c.Assert(err, Equals, nil)
os.Clearenv()
}

func (s *MySuite) TestFindAllSpecFiles(c *C) {
Expand Down
2 changes: 2 additions & 0 deletions util/httpUtils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import (
. "gopkg.in/check.v1"
)

var _ = Suite(&MySuite{})

func (s *MySuite) TestDownloadFailureIfFileNotFound(c *C) {
handler := func(w http.ResponseWriter, r *http.Request) {
http.NotFound(w, r)
Expand Down

0 comments on commit 9950653

Please sign in to comment.