summaryrefslogtreecommitdiffstats
path: root/commands/server_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-02-05 22:58:17 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-02-05 22:58:17 +0100
commit74539dea8714a9004c20a969435860857ad503ab (patch)
treec4565b237194eeeabadebfca2e2f7b7931e3938b /commands/server_test.go
parenta89b2f41d679117de9f5cb645ec7074b6f61fe93 (diff)
Unexport the remaining vars in hugo command
Diffstat (limited to 'commands/server_test.go')
-rw-r--r--commands/server_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/server_test.go b/commands/server_test.go
index 55d687bcc..d41d630cb 100644
--- a/commands/server_test.go
+++ b/commands/server_test.go
@@ -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)
}