diff options
Diffstat (limited to 'resources/resource_transformers/tocss')
3 files changed, 0 insertions, 9 deletions
diff --git a/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go b/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go index c370a1cc8..dd4c1e5ca 100644 --- a/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go +++ b/resources/resource_transformers/tocss/dartsass/dartsass_integration_test.go @@ -293,7 +293,6 @@ T1: {{ $r.Content }} b.AssertLogMatches(`Dart Sass: foo`) b.AssertLogMatches(`Dart Sass: .*assets.*main.scss:1:0: bar`) - } func TestTransformErrors(t *testing.T) { @@ -347,7 +346,6 @@ T1: {{ $r.Content }} b.Assert(fe.ErrorContext(), qt.IsNotNil) b.Assert(fe.ErrorContext().Lines, qt.DeepEquals, []string{" $maincolor #eee;", "", "body {", "\tcolor: $maincolor;", "}"}) b.Assert(fe.ErrorContext().ChromaLexer, qt.Equals, "scss") - }) c.Run("error in import", func(c *qt.C) { @@ -365,9 +363,7 @@ T1: {{ $r.Content }} b.Assert(fe.ErrorContext(), qt.IsNotNil) b.Assert(fe.ErrorContext().Lines, qt.DeepEquals, []string{"/* comment line 1 */", "$foocolor #ccc;", "", "foo {"}) b.Assert(fe.ErrorContext().ChromaLexer, qt.Equals, "scss") - }) - } func TestOptionVars(t *testing.T) { @@ -528,5 +524,4 @@ T1: {{ $r.Content }} b.AssertLogMatches(`Dart Sass: .*assets.*main.scss:12:0: number`) b.AssertLogMatches(`Dart Sass: .*assets.*main.scss:13:0: number`) b.AssertLogMatches(`Dart Sass: .*assets.*main.scss:14:0: number`) - } diff --git a/resources/resource_transformers/tocss/scss/client_extended.go b/resources/resource_transformers/tocss/scss/client_extended.go index bfee39499..c9b347c4c 100644 --- a/resources/resource_transformers/tocss/scss/client_extended.go +++ b/resources/resource_transformers/tocss/scss/client_extended.go @@ -47,7 +47,6 @@ func (c *Client) ToCSS(res resources.ResourceTransformer, opts Options) (resourc } return res.Transform(&toCSSTransformation{c: c, options: internalOptions}) - } type toCSSTransformation struct { diff --git a/resources/resource_transformers/tocss/scss/scss_integration_test.go b/resources/resource_transformers/tocss/scss/scss_integration_test.go index d0dd65e20..4d7d9d710 100644 --- a/resources/resource_transformers/tocss/scss/scss_integration_test.go +++ b/resources/resource_transformers/tocss/scss/scss_integration_test.go @@ -228,7 +228,6 @@ T1: {{ $r.Content }} b.Assert(fe.ErrorContext(), qt.IsNotNil) b.Assert(fe.ErrorContext().Lines, qt.DeepEquals, []string{"/* comment line 4 */", "", "$maincolor #eee;", "", "body {"}) b.Assert(fe.ErrorContext().ChromaLexer, qt.Equals, "scss") - }) c.Run("error in import", func(c *qt.C) { @@ -245,9 +244,7 @@ T1: {{ $r.Content }} b.Assert(fe.ErrorContext(), qt.IsNotNil) b.Assert(fe.ErrorContext().Lines, qt.DeepEquals, []string{"/* comment line 1 */", "$foocolor #ccc;", "", "foo {"}) b.Assert(fe.ErrorContext().ChromaLexer, qt.Equals, "scss") - }) - } func TestOptionVars(t *testing.T) { |