Skip to content

Commit

Permalink
Additional bag-info sensitivity/ordering tests (see #8)
Browse files Browse the repository at this point in the history
This adds tests to confirm that order is preserved across duplicate keys
and for case-insensitivity for custom key values. This is only half of
the test since a library would need to confirm the expected output for
key access and after saving.
  • Loading branch information
acdha committed Feb 28, 2017
1 parent 4d23baf commit b966356
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion v0.97/valid/duplicate-metadata-entries/bag-info.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Bagging-Date: 2016-02-26
Bagging-Date: 2016-03-10
Contact-Email: [email protected]
contact-name: Chris Adams
Contact-Email: [email protected]
Contact-Name: Chris Adams
Contact-Name: John Scancella
Case-Insensitivity-Test: 1
CASE-INSENSITIVITY-TEST: 2
case-insensitivity-test: 3
2 changes: 1 addition & 1 deletion v0.97/valid/duplicate-metadata-entries/tagmanifest-md5.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
a9ca1dd1e555f03147e4513070966839 bag-info.txt
cff30294c31f6d101c359e14324219a5 bag-info.txt
9e5ad981e0d29adc278f6a294b8c2aca bagit.txt
c9dca95b4b6c69ebc246adbb31a9c5ee manifest-md5.txt

0 comments on commit b966356

Please sign in to comment.