chiark
/
gitweb
/
~ianmdlvl
/
nailing-cargo.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add 'TOML-Tiny/' from commit 'dab92c92905923c50929c14cc59adadff5b9eedf'
[nailing-cargo.git]
/
TOML-Tiny
/
t
/
toml-test
/
invalid
/
datetime-malformed-no-secs.t
1
# File automatically generated from BurntSushi/toml-test
2
use utf8;
3
use Test2::V0;
4
use TOML::Tiny;
5
6
binmode STDIN, ':encoding(UTF-8)';
7
binmode STDOUT, ':encoding(UTF-8)';
8
9
ok dies(sub{
10
from_toml(q{
11
no-secs = 1987-07-05T17:45Z
12
13
}, strict_arrays => 1);
14
}), 'strict_mode dies on datetime-malformed-no-secs';
15
16
done_testing;