fix stylesheet directory prefix
This commit is contained in:
@@ -7,8 +7,10 @@
|
||||
|
||||
using namespace llmr;
|
||||
|
||||
std::string prefix = "./obj/gen/bin/";
|
||||
|
||||
TEST(Style, Style) {
|
||||
std::ifstream stylefile("./style.min.js");
|
||||
std::ifstream stylefile(prefix + "style.min.js");
|
||||
ASSERT_TRUE(stylefile.good());
|
||||
std::stringstream stylejson;
|
||||
stylejson << stylefile.rdbuf();
|
||||
@@ -18,7 +20,7 @@ TEST(Style, Style) {
|
||||
}
|
||||
|
||||
TEST(Style, Colors) {
|
||||
std::ifstream stylefile("./fuzz-colors.min.js");
|
||||
std::ifstream stylefile(prefix + "fuzz-colors.min.js");
|
||||
ASSERT_TRUE(stylefile.good());
|
||||
std::stringstream stylejson;
|
||||
stylejson << stylefile.rdbuf();
|
||||
|
||||
Reference in New Issue
Block a user