aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-11-07 10:48:38 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-11-07 10:48:38 -0800
commit9c7f75afb5d4e50ac915213eba0470c2d0ad304d (patch)
treee6c9e0e66d8cd9458ccaf2104abfb22946652bf5 /test
parente299212bf766cdbeec43be90f634038ab4a727c1 (diff)
downloadpandoc-9c7f75afb5d4e50ac915213eba0470c2d0ad304d.tar.gz
Change merge behavior for metadata.
Previously, if a document contained two YAML metadata blocks that set the same field, the conflict would be resolved in favor of the first. Now it is resolved in favor of the second (due to a change in pandoc-types). This makes the behavior more uniform with other things in pandoc (such as reference links and `--metadata-file`).
Diffstat (limited to 'test')
-rw-r--r--test/command/multiple-metadata-blocks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/multiple-metadata-blocks.md b/test/command/multiple-metadata-blocks.md
index 27c5e3dae..5adbfe423 100644
--- a/test/command/multiple-metadata-blocks.md
+++ b/test/command/multiple-metadata-blocks.md
@@ -10,6 +10,6 @@ foo: bar
foo: bim
...
^D
-Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "bar"])]})
+Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "bim"])]})
[]
```