mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
toml: add date and time checks (#12427)
This commit is contained in:
@ -112,6 +112,8 @@ fn test_parse_iso8601_invalid() {
|
||||
'2020-06-05Z',
|
||||
'2020-06-05+00:00',
|
||||
'15:38:06',
|
||||
'2020-06-32T15:38:06.015959',
|
||||
'2020-13-13T15:38:06.015959',
|
||||
]
|
||||
for format in formats {
|
||||
time.parse_iso8601(format) or {
|
||||
|
Reference in New Issue
Block a user