1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
gohugoio-hugo/hugolib/site_show_plan_test.go

15 lines
244 B
Go
Raw Normal View History

2013-08-31 21:13:04 -07:00
package hugolib
import (
"bytes"
"testing"
)
func TestDegenerateNoTarget(t *testing.T) {
s := new(Site)
out := new(bytes.Buffer)
if err := s.ShowPlan(out); err != nil {
t.Errorf("ShowPlan unexpectedly returned an error: %s", err)
}
}