Fixed mistake in test

This commit is contained in:
jbeder
2009-10-29 22:39:53 +00:00
parent 08ac48518f
commit e8beb6c98f

View File

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