diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-05-27 10:06:45 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-05-27 11:55:03 +0200 |
commit | 52edea0feccf98700300e98567c5a2ada7604c89 (patch) | |
tree | e09d89d3126aa910eb949331cfe244d3a5e02dba /resources/resource_transformers | |
parent | 6a5acd753abbd899547c89b369de71df639cce19 (diff) | |
download | hugo-52edea0feccf98700300e98567c5a2ada7604c89.tar.gz hugo-52edea0feccf98700300e98567c5a2ada7604c89.zip |
github: Set HUGO_BUILD_TAGS: extended when running tests
Also fix TestDecodeConfig/Basic which started to fail in the extended build in 0.99.1.
Closes #9935
Diffstat (limited to 'resources/resource_transformers')
-rw-r--r-- | resources/resource_transformers/tocss/scss/integration_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/resource_transformers/tocss/scss/integration_test.go b/resources/resource_transformers/tocss/scss/integration_test.go index 72c0fd988..13b664cc7 100644 --- a/resources/resource_transformers/tocss/scss/integration_test.go +++ b/resources/resource_transformers/tocss/scss/integration_test.go @@ -236,7 +236,7 @@ T1: {{ $r.Content }} }).BuildE() b.Assert(err, qt.IsNotNil) - b.Assert(err.Error(), qt.Contains, filepath.FromSlash(`assets/scss/components/_foo.scss:2:1": expected ':' after $foocolor in assignment statement`)) + b.Assert(err.Error(), qt.Contains, `assets/scss/components/_foo.scss:2:1": expected ':' after $foocolor in assignment statement`) fe := b.AssertIsFileError(err) b.Assert(fe.ErrorContext(), qt.IsNotNil) b.Assert(fe.ErrorContext().Lines, qt.DeepEquals, []string{"/* comment line 1 */", "$foocolor #ccc;", "", "foo {"}) |