Current section

Files

Jump to
yamerl testsuite data parsing enc_invalid_unicode.pattern
Raw

testsuite/data/parsing/enc_invalid_unicode.pattern

%% vim:ft=erlang:
%% TEST
?_assertThrow(
{yamerl_exception, [
{yamerl_parsing_error,error,
"Invalid Unicode character at byte #4",
undefined,undefined,invalid_unicode,undefined,
[{byte,4}]}
]
},
yamerl_parser:file("${FILENAME}", [{io_blocksize, 1}])
)