mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
14 lines
244 B
Go
14 lines
244 B
Go
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)
|
|
}
|
|
}
|