Skip to content

Commit

Permalink
Add another test
Browse files Browse the repository at this point in the history
  • Loading branch information
catamorphism committed Sep 27, 2024
1 parent 4567804 commit ad64237
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions testdata/message2/more-functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@
"exp": "{$date}",
"expErrors": [{"type": "bad-option"}],
"params": [{ "name": "date", "value": { "date": 1669261357000 }}]
},
{
"comment": "Datetime can have style options or field options, but not both",
"src": "{$date :datetime timeStyle=full day=numeric}",
"exp": "{$date}",
"expErrors": [{"type": "bad-option"}],
"params": [{ "name": "date", "value": { "date": 1669261357000 }}]
}
]
}

0 comments on commit ad64237

Please sign in to comment.