mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Stop Viper from leaking across many of the tests (now tests pass regardless of order tested)
This commit is contained in:
@@ -10,6 +10,9 @@ import (
|
||||
)
|
||||
|
||||
func TestPermalink(t *testing.T) {
|
||||
viper.Reset()
|
||||
defer viper.Reset()
|
||||
|
||||
tests := []struct {
|
||||
file string
|
||||
dir string
|
||||
|
Reference in New Issue
Block a user