diff --git a/cmd/ipfs2/tour_test.go b/cmd/ipfs2/tour_test.go index 9a11cc619..35e802278 100644 --- a/cmd/ipfs2/tour_test.go +++ b/cmd/ipfs2/tour_test.go @@ -9,12 +9,14 @@ import ( func TestParseTourTemplate(t *testing.T) { topic := &tour.Topic{ - ID: "42", - Title: "IPFS CLI test files", - Text: ` + ID: "42", + Content: tour.Content{ + Title: "IPFS CLI test files", + Text: ` Welcome to the IPFS test files This is where we test our beautiful command line interfaces `, + }, } var buf bytes.Buffer err := fprintTourShow(&buf, topic)