Skip to content

Commit

Permalink
Run only eng tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Jun 25, 2024
1 parent 0b8bd6e commit d0cc5da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ func TestContentTour(t *testing.T) {
t.Skipf("skipping because 'go' executable not available: %v", err)
}

err := filepath.Walk(filepath.Join("_content", "tour"), func(path string, fi os.FileInfo, err error) error {
if filepath.Ext(path) != ".go" {
return nil
err := filepath.Walk(filepath.Join("_content", "tour", "eng"), func(path string, fi os.FileInfo, err error) error {
if err != nil {
return err
}
if filepath.Base(path) == "content_test.go" {
if filepath.Ext(path) != ".go" {
return nil
}
t.Run(path, func(t *testing.T) {
Expand Down

0 comments on commit d0cc5da

Please sign in to comment.