From 243c56a880054bc11ee2007f9ab77174fff1d40f Mon Sep 17 00:00:00 2001
From: John MacFarlane <fiddlosopher@gmail.com>
Date: Tue, 25 Jun 2013 22:32:11 -0700
Subject: Fixed 'authors' metadata parsing in reST.

Semicolons separate different authors.
---
 tests/rst-reader.native | 7 ++-----
 tests/rst-reader.rst    | 3 +--
 2 files changed, 3 insertions(+), 7 deletions(-)

(limited to 'tests')

diff --git a/tests/rst-reader.native b/tests/rst-reader.native
index 92c3ce2ca..49677d958 100644
--- a/tests/rst-reader.native
+++ b/tests/rst-reader.native
@@ -1,8 +1,5 @@
-Pandoc (Meta {docTitle = [Str "Pandoc",Space,Str "Test",Space,Str "Suite",Str ":",Space,Str "Subtitle"], docAuthors = [[Str "John",Space,Str "MacFarlane"],[Str "Anonymous"]], docDate = [Str "July",Space,Str "17,",Space,Str "2006"]})
-[DefinitionList
- [([Str "Revision"],
-   [[Para [Str "3"]]])]
-,Header 1 ("",[],[]) [Str "Level",Space,Str "one",Space,Str "header"]
+Pandoc (Meta {unMeta = fromList [("authors",MetaList [MetaInlines [Str "John",Space,Str "MacFarlane"],MetaInlines [Str "Anonymous"]]),("date",MetaInlines [Str "July",Space,Str "17,",Space,Str "2006"]),("revision",MetaBlocks [Para [Str "3"]]),("subtitle",MetaInlines [Str "Subtitle"]),("title",MetaInlines [Str "Pandoc",Space,Str "Test",Space,Str "Suite"])]})
+[Header 1 ("",[],[]) [Str "Level",Space,Str "one",Space,Str "header"]
 ,Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "set",Space,Str "of",Space,Str "tests",Space,Str "for",Space,Str "pandoc.",Space,Str "Most",Space,Str "of",Space,Str "them",Space,Str "are",Space,Str "adapted",Space,Str "from",Space,Str "John",Space,Str "Gruber\8217s",Space,Str "markdown",Space,Str "test",Space,Str "suite."]
 ,Header 2 ("",[],[]) [Str "Level",Space,Str "two",Space,Str "header"]
 ,Header 3 ("",[],[]) [Str "Level",Space,Str "three"]
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 970ab4d4a..748bfe0a5 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -3,8 +3,7 @@ Pandoc Test Suite
 Subtitle
 ^^^^^^^^
 
-:Author: John MacFarlane
-:Author: Anonymous
+:Authors: John MacFarlane; Anonymous
 :Date: July 17, 2006
 :Revision: 3
 
-- 
cgit v1.2.3