Skip to content

Commit 5be2925

Browse files
committed
multiple authors must be separated by a space
1 parent e61d336 commit 5be2925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/share/asciidoctor-spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const shareSpec = function (testOptions, asciidoctor, expect) {
7272
})
7373

7474
it('should load document authors', function () {
75-
const doc = asciidoctor.load('= Authors\nGuillaume Grossetie;Anders Nawroth\n')
75+
const doc = asciidoctor.load('= Authors\nGuillaume Grossetie; Anders Nawroth\n')
7676
expect(doc.getAttribute('author')).to.equal('Guillaume Grossetie')
7777
expect(doc.getAttribute('author_1')).to.equal('Guillaume Grossetie')
7878
expect(doc.getAttribute('author_2')).to.equal('Anders Nawroth')
@@ -92,7 +92,7 @@ const shareSpec = function (testOptions, asciidoctor, expect) {
9292
})
9393

9494
it('should return attributes as JSON object', function () {
95-
const doc = asciidoctor.load('= Authors\nGuillaume Grossetie;Anders Nawroth\n')
95+
const doc = asciidoctor.load('= Authors\nGuillaume Grossetie; Anders Nawroth\n')
9696
expect(doc.getAttributes()['author']).to.equal('Guillaume Grossetie')
9797
expect(doc.getAttributes()['authors']).to.equal('Guillaume Grossetie, Anders Nawroth')
9898
})

0 commit comments

Comments
 (0)