Skip to content

Commit

Permalink
Extend cheater syntax test slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
fbennett committed Jun 2, 2019
1 parent 4d99541 commit 8875129
Showing 1 changed file with 45 additions and 3 deletions.
48 changes: 45 additions & 3 deletions fixtures/local/dateparser_CheaterSyntax.txt
Expand Up @@ -5,9 +5,30 @@ citation


>>===== RESULT =====>>
Some Book or Other, 1965 [October 3, 1855]
Original date, 1965 [October 3, 1855]
Date override, 1900
Valid date field in note field, 2000
<<===== RESULT =====<<

>>===== CITATION-ITEMS =====>>
[
[
{
"id": "ITEM-1"
}
],
[
{
"id": "ITEM-2"
}
],
[
{
"id": "ITEM-3"
}
]
]
<<===== CITATION-ITEMS =====<<

>>===== CSL =====>>
<style
Expand Down Expand Up @@ -47,8 +68,29 @@ Some Book or Other, 1965 [October 3, 1855]
]
]
},
"note": "{:original-date: 1855-10-03}",
"title": "Some Book or Other",
"note": "original-date: 1855-10-03",
"title": "Original date",
"type": "book"
},
{
"id": "ITEM-2",
"issued": {
"date-parts": [
[
"1965",
"6",
"1"
]
]
},
"note": "issued: 1900-06-30",
"title": "Date override",
"type": "book"
},
{
"id": "ITEM-3",
"note": "issued: 2000-01-01",
"title": "Valid date field in note field",
"type": "book"
}
]
Expand Down

0 comments on commit 8875129

Please sign in to comment.