From 7365d1b2f479823151e7fa57147ae066e76b7ea1 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 9 Jul 2014 15:06:28 -0700 Subject: [PATCH] fix stylesheet directory prefix --- test/style.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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();