Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'markup/highlight/config_test.go')
-rw-r--r--markup/highlight/config_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/markup/highlight/config_test.go b/markup/highlight/config_test.go
index 3c3747622..ab92ecf36 100644
--- a/markup/highlight/config_test.go
+++ b/markup/highlight/config_test.go
@@ -17,16 +17,15 @@ package highlight
import (
"testing"
- "github.com/spf13/viper"
-
qt "github.com/frankban/quicktest"
+ "github.com/gohugoio/hugo/config"
)
func TestConfig(t *testing.T) {
c := qt.New(t)
c.Run("applyLegacyConfig", func(c *qt.C) {
- v := viper.New()
+ v := config.New()
v.Set("pygmentsStyle", "hugo")
v.Set("pygmentsUseClasses", false)
v.Set("pygmentsCodeFences", false)