From e8beb6c98f8414be00905f564f23a072d1b536af Mon Sep 17 00:00:00 2001 From: jbeder Date: Thu, 29 Oct 2009 22:39:53 +0000 Subject: [PATCH] Fixed mistake in test --- test/spectests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;