diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-11-18 10:04:37 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-11-18 13:41:12 +0100 |
commit | 3b6eaf9b1f128b36fe25478b2e7c4d8463e5ab58 (patch) | |
tree | 6b22933db13ee7564c04f5daa8497754eccd6005 /hugolib/integrationtest_builder.go | |
parent | 1fd845eee4d2d0dc264c0f45471815d00160f7dc (diff) | |
download | hugo-3b6eaf9b1f128b36fe25478b2e7c4d8463e5ab58.tar.gz hugo-3b6eaf9b1f128b36fe25478b2e7c4d8463e5ab58.zip |
dartsass: Add silenceDeprecations option
Fixes #13045
Diffstat (limited to 'hugolib/integrationtest_builder.go')
-rw-r--r-- | hugolib/integrationtest_builder.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/hugolib/integrationtest_builder.go b/hugolib/integrationtest_builder.go index 5dc13592f..637e5dee0 100644 --- a/hugolib/integrationtest_builder.go +++ b/hugolib/integrationtest_builder.go @@ -76,6 +76,13 @@ func TestOptWarn() TestOpt { } } +// TestOptOsFs will enable the real file system in integration tests. +func TestOptOsFs() TestOpt { + return func(c *IntegrationTestConfig) { + c.NeedsOsFS = true + } +} + // TestOptWithNFDOnDarwin will normalize the Unicode filenames to NFD on Darwin. func TestOptWithNFDOnDarwin() TestOpt { return func(c *IntegrationTestConfig) { |