github.com/grahambrereton-form3/tilt@v0.10.18/internal/testutils/tempdir/temp_dir_fixture_test.go (about)

     1  package tempdir
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  func TestNestedDirs(t *testing.T) {
    10  	t.Run("inner", func(t *testing.T) {
    11  		f := NewTempDirFixture(t)
    12  		defer f.TearDown()
    13  
    14  		assert.Contains(t, f.Path(), "inner")
    15  		assert.Contains(t, f.Path(), "NestedDirs")
    16  	})
    17  }