Added test case covering unexpected whitespaces in SAS file.

This commit is contained in:
2016-08-30 18:47:12 +02:00
parent 28b9d22a4c
commit b4f7e4f102
2 changed files with 276 additions and 0 deletions

View File

@@ -177,3 +177,11 @@ TEST_F(SASParserTests, ParseRequirements)
FAIL() << e.what();
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
TEST_F(SASParserTests, CheckIssues)
{
// Check issue where unexpected whitespaces in SAS files led to a parsing error
ASSERT_NO_THROW(plasp::sas::Description::fromFile("data/issues/issue-6.sas"));
}