run fuzzed stylesheet test with malformed color strings

This commit is contained in:
Mike Morris
2014-07-07 18:12:33 -07:00
parent dc3c26294a
commit 5ae5d7cbc0
2 changed files with 6 additions and 5 deletions

View File

@@ -15,12 +15,9 @@ TEST(Style, Color) {
llmr::Map map(view);
std::ifstream stylefile("./style-fuzzed.min.js");
ASSERT_TRUE(stylefile.good());
ASSERT_FALSE(stylefile.good());
std::stringstream stylejson;
stylejson << stylefile.rdbuf();
map.setStyleJSON(stylejson.str());
// ASSERT_EQ(std::string(""), styles[0]->clip.mask);
// ASSERT_EQ(3, styles[0]->clip.length);
}