summaryrefslogtreecommitdiffstats
path: root/hugolib/site_url_test.go
diff options
context:
space:
mode:
authorNoah Campbell <noahcampbell@gmail.com>2013-09-03 20:52:50 -0700
committerNoah Campbell <noahcampbell@gmail.com>2013-09-03 20:52:50 -0700
commitcb00917af69bfd6fbe79dcf094956b6af33669e5 (patch)
tree1dd187caf10c08cc8a7635a24e83e4e576e0ce34 /hugolib/site_url_test.go
parent4004687fb2da9228203fec39b914ba534c934966 (diff)
Expand the ShowPlan functionality
Diffstat (limited to 'hugolib/site_url_test.go')
-rw-r--r--hugolib/site_url_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/hugolib/site_url_test.go b/hugolib/site_url_test.go
index 6384f797b..f182503c0 100644
--- a/hugolib/site_url_test.go
+++ b/hugolib/site_url_test.go
@@ -40,6 +40,10 @@ func (t *InMemoryTarget) Publish(label string, reader io.Reader) (err error) {
return
}
+func (t *InMemoryTarget) Translate(label string) (dest string, err error) {
+ return label, nil
+}
+
func TestPageCount(t *testing.T) {
target := new(InMemoryTarget)
s := &Site{Target: target}