Update expected error type in test

This commit is contained in:
Paweł Chmielowski 2017-12-21 11:43:09 +01:00
parent 826387446a
commit 7f073fbcd8
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ test_connect_bad_xml(Config) ->
send_text(Config0, <<"<'/>">>),
Version = ?config(stream_version, Config0),
?recv1(#stream_start{version = Version}),
?recv1(#stream_error{reason = 'invalid-xml'}),
?recv1(#stream_error{reason = 'not-well-formed'}),
?recv1({xmlstreamend, <<"stream:stream">>}),
close_socket(Config0).