diff options
author | spf13 <steve.francia@gmail.com> | 2015-05-20 02:21:21 -0400 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2015-05-20 02:21:21 -0400 |
commit | a584ff207b4ee951e4b25cf5cedf6d261ee1bc47 (patch) | |
tree | 4273e35cfd90493ed0d25d53450285b61c527418 /hugolib/page_permalink_test.go | |
parent | 599d1b9786ddbaa9203aaca2c96ab33b40a583b1 (diff) |
Stop Viper from leaking across many of the tests (now tests pass regardless of order tested)
Diffstat (limited to 'hugolib/page_permalink_test.go')
-rw-r--r-- | hugolib/page_permalink_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hugolib/page_permalink_test.go b/hugolib/page_permalink_test.go index 1ed232348..e7f7400ba 100644 --- a/hugolib/page_permalink_test.go +++ b/hugolib/page_permalink_test.go @@ -10,6 +10,9 @@ import ( ) func TestPermalink(t *testing.T) { + viper.Reset() + defer viper.Reset() + tests := []struct { file string dir string |