diff --git a/test/style.cpp b/test/style.cpp index a321fe835..2205430b2 100644 --- a/test/style.cpp +++ b/test/style.cpp @@ -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();