diff options
Diffstat (limited to 'resources/resource_transformers/tocss/dartsass/integration_test.go')
-rw-r--r-- | resources/resource_transformers/tocss/dartsass/integration_test.go | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/resources/resource_transformers/tocss/dartsass/integration_test.go b/resources/resource_transformers/tocss/dartsass/integration_test.go index c1616f684..9434b1d52 100644 --- a/resources/resource_transformers/tocss/dartsass/integration_test.go +++ b/resources/resource_transformers/tocss/dartsass/integration_test.go @@ -16,8 +16,6 @@ package dartsass_test import ( "testing" - qt "github.com/frankban/quicktest" - "github.com/gohugoio/hugo/hugolib" "github.com/gohugoio/hugo/resources/resource_transformers/tocss/dartsass" ) @@ -27,8 +25,6 @@ func TestTransformIncludePaths(t *testing.T) { t.Skip() } - c := qt.New(t) - files := ` -- assets/scss/main.scss -- @import "moo"; @@ -47,7 +43,7 @@ T1: {{ $r.Content }} b := hugolib.NewIntegrationTestBuilder( hugolib.IntegrationTestConfig{ - T: c, + T: t, TxtarString: files, NeedsOsFS: true, }).Build() @@ -59,7 +55,6 @@ func TestTransformImportRegularCSS(t *testing.T) { if !dartsass.Supports() { t.Skip() } - c := qt.New(t) files := ` -- assets/scss/_moo.scss -- @@ -88,7 +83,7 @@ T1: {{ $r.Content | safeHTML }} b := hugolib.NewIntegrationTestBuilder( hugolib.IntegrationTestConfig{ - T: c, + T: t, TxtarString: files, NeedsOsFS: true, }, @@ -114,8 +109,6 @@ func TestTransformThemeOverrides(t *testing.T) { t.Skip() } - c := qt.New(t) - files := ` -- assets/scss/components/_boo.scss -- $boolor: green; @@ -163,7 +156,7 @@ zoo { b := hugolib.NewIntegrationTestBuilder( hugolib.IntegrationTestConfig{ - T: c, + T: t, TxtarString: files, NeedsOsFS: true, }, |