mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
Unexport the remaining vars in hugo command
This commit is contained in:
@@ -44,11 +44,11 @@ func TestFixURL(t *testing.T) {
|
||||
|
||||
for i, test := range tests {
|
||||
viper.Reset()
|
||||
BaseURL = test.CLIBaseURL
|
||||
baseURL = test.CLIBaseURL
|
||||
viper.Set("BaseURL", test.CfgBaseURL)
|
||||
serverAppend = test.AppendPort
|
||||
serverPort = test.Port
|
||||
result, err := fixURL(BaseURL)
|
||||
result, err := fixURL(baseURL)
|
||||
if err != nil {
|
||||
t.Errorf("Test #%d %s: unexpected error %s", i, test.TestName, err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user