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:
parent
7cd1c2f80c
commit
75cc2933a6
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue