1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 17:36:38 +08:00

fix(test) tour content struct now exists

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
Brian Tiger Chow
2014-11-14 03:31:06 -08:00
parent a0dab3a29a
commit ee378e2fbd

View File

@ -10,11 +10,13 @@ import (
func TestParseTourTemplate(t *testing.T) {
topic := &tour.Topic{
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)