diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-07-09 18:48:57 -0700 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-07-09 18:48:57 -0700 |
commit | ece851f2169f00c0dadb6b7b4e484111588cce98 (patch) | |
tree | 00a65445aba06b70234359cd6fda23836342e26e | |
parent | e3977fb5e5fcdd3a987dba9c8e39d17e1400296e (diff) | |
download | qtlocation-mapboxgl-ece851f2169f00c0dadb6b7b4e484111588cce98.tar.gz |
fix test/style stylesheet paths
-rw-r--r-- | test/style.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/style.cpp b/test/style.cpp index 2205430b23..a321fe835d 100644 --- a/test/style.cpp +++ b/test/style.cpp @@ -7,10 +7,8 @@ using namespace llmr; -std::string prefix = "./obj/gen/bin/"; - TEST(Style, Style) { - std::ifstream stylefile(prefix + "style.min.js"); + std::ifstream stylefile("./style.min.js"); ASSERT_TRUE(stylefile.good()); std::stringstream stylejson; stylejson << stylefile.rdbuf(); @@ -20,7 +18,7 @@ TEST(Style, Style) { } TEST(Style, Colors) { - std::ifstream stylefile(prefix + "fuzz-colors.min.js"); + std::ifstream stylefile("./fuzz-colors.min.js"); ASSERT_TRUE(stylefile.good()); std::stringstream stylejson; stylejson << stylefile.rdbuf(); |