Fixed mistake in test

This commit is contained in:
jbeder 2009-10-29 22:39:53 +00:00
parent ce69328c5f
commit 2c7469d75d

View File

@ -1819,7 +1819,7 @@ namespace Test {
try {
PARSE(doc, input);
} catch(const YAML::Exception& e) {
if(e.msg == YAML::ErrorMsg::END_OF_SEQ);
if(e.msg == YAML::ErrorMsg::END_OF_SEQ_FLOW)
return true;
throw;