Expand the ShowPlan functionality

This commit is contained in:
Noah Campbell
2013-09-03 20:52:50 -07:00
parent 4004687fb2
commit cb00917af6
5 changed files with 62 additions and 11 deletions

View File

@@ -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}