diff --git a/test/spectests.cpp b/test/spectests.cpp index 4bd0e89..1857234 100644 --- a/test/spectests.cpp +++ b/test/spectests.cpp @@ -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;