1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

go fmt simply code

This commit is contained in:
Harvey Kandola 2016-10-17 14:20:36 -07:00
parent 7cd1c2f80c
commit 75cc2933a6

View file

@ -55,7 +55,7 @@ func TestConvertFileResult(t *testing.T) {
}
rj := "Romeo & Juliet"
doc = ConvertFileResult(fn, &api.DocumentConversionResponse{
Pages: []api.Page{api.Page{Title: rj}},
Pages: []api.Page{{Title: rj}},
})
if doc.Title != rj || doc.Slug != "romeo-juliet" {
t.Error("title not passed through correctly")