Fixed mistake in test

This commit is contained in:
Jesse Beder
2009-10-29 22:39:53 +00:00
parent 3405a6fe01
commit 52be1ccfb9

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;