aboutsummaryrefslogtreecommitdiff
path: root/document_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'document_test.go')
-rw-r--r--document_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/document_test.go b/document_test.go
index 213ed74..f22313d 100644
--- a/document_test.go
+++ b/document_test.go
@@ -24,7 +24,7 @@ func TestOpen(t *testing.T) {
// Since we cannot overwrite the asciidoctor output for
// generator, we override ourself.
- doc.Attributes[DocAttrGenerator] = `Asciidoctor 2.0.18`
+ doc.Attributes.Entry[DocAttrGenerator] = `Asciidoctor 2.0.18`
fout, err = os.OpenFile(`testdata/test.got.html`, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600)
if err != nil {