fix(test) tour content struct now exists
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
Brian Tiger Chow committed
Nov 14, 2014 at 03:31 UTC
ee378e2fbd20ecd100dc90e256d6d464f88977ae
1 file changed
+5
-3
cmd/ipfs2/tour_test.go
+5
-3
@@ -9,12 +9,14 @@ import (
9
10
func TestParseTourTemplate(t *testing.T) {
11
topic := &tour.Topic{
12
- ID: "42",
13
- Title: "IPFS CLI test files",
14
- Text: `
12
+ ID: "42",
13
+ Content: tour.Content{
14
+ Title: "IPFS CLI test files",
15
+ Text: `
16
Welcome to the IPFS test files
17
This is where we test our beautiful command line interfaces
18
`,
19
+ },
20
}
21
var buf bytes.Buffer
22
err := fprintTourShow(&buf, topic)