Current section
Files
Jump to
Current section
Files
testsuite/data/parsing/unsupported_yaml_version_20.pattern
%% vim:ft=erlang:
%% TEST
?_assertThrow(
{yamerl_exception,
[
{yamerl_parsing_error,error,
"Version 2.0 not supported (maximum version 1.2)",
2,1,version_not_supported,
{yamerl_doc_start,2,1,{2,0},_},
[]}
]
},
yamerl_parser:file("${FILENAME}", [{io_blocksize, 1}])
)