@@ -116,6 +116,46 @@ tests =
116116 }
117117 in (para $ cite [citation] "citep:pandoc")
118118
119+ , "multiple simple citations" =:
120+ "citep:picard,riker" =?>
121+ let picard = Citation
122+ { citationId = "picard"
123+ , citationPrefix = mempty
124+ , citationSuffix = mempty
125+ , citationMode = NormalCitation
126+ , citationNoteNum = 0
127+ , citationHash = 0
128+ }
129+ riker = Citation
130+ { citationId = "riker"
131+ , citationPrefix = mempty
132+ , citationSuffix = mempty
133+ , citationMode = NormalCitation
134+ , citationNoteNum = 0
135+ , citationHash = 0
136+ }
137+ in (para $ cite [picard,riker] "citep:picard,riker")
138+
139+ , "multiple simple citations succeeded by comma" =:
140+ "citep:picard,riker," =?>
141+ let picard = Citation
142+ { citationId = "picard"
143+ , citationPrefix = mempty
144+ , citationSuffix = mempty
145+ , citationMode = NormalCitation
146+ , citationNoteNum = 0
147+ , citationHash = 0
148+ }
149+ riker = Citation
150+ { citationId = "riker"
151+ , citationPrefix = mempty
152+ , citationSuffix = mempty
153+ , citationMode = NormalCitation
154+ , citationNoteNum = 0
155+ , citationHash = 0
156+ }
157+ in (para $ cite [picard,riker] "citep:picard,riker" <> str ",")
158+
119159 , "extended citation" =:
120160 "[[citep:Dominik201408][See page 20::, for example]]" =?>
121161 let citation = Citation