aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/robotstxt_test.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2016-04-07 16:10:41 +0200
committerBjørn Erik Pedersen <[email protected]>2016-04-07 16:10:41 +0200
commit3950b1375c0be846c88d015d7ae20e45d51f97d2 (patch)
treece5510e0612cb7df083ef1f2b8872bb584d80d81 /hugolib/robotstxt_test.go
parent05b888877db016e5c45711069272a39031377297 (diff)
downloadhugo-3950b1375c0be846c88d015d7ae20e45d51f97d2.tar.gz
hugo-3950b1375c0be846c88d015d7ae20e45d51f97d2.zip
hugolib: Camelcase ALL_CAPS vars and const in tests
See #2014
Diffstat (limited to 'hugolib/robotstxt_test.go')
-rw-r--r--hugolib/robotstxt_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/robotstxt_test.go b/hugolib/robotstxt_test.go
index b88d2243b..93605449c 100644
--- a/hugolib/robotstxt_test.go
+++ b/hugolib/robotstxt_test.go
@@ -39,7 +39,7 @@ func TestRobotsTXTOutput(t *testing.T) {
viper.Set("enableRobotsTXT", true)
s := &Site{
- Source: &source.InMemorySource{ByteSource: WEIGHTED_SOURCES},
+ Source: &source.InMemorySource{ByteSource: weightedSources},
}
s.initializeSiteInfo()