diff options
Diffstat (limited to 'test/catch_rttt.cpp')
-rw-r--r-- | test/catch_rttt.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/catch_rttt.cpp b/test/catch_rttt.cpp index 8cd9ea0..15be3f5 100644 --- a/test/catch_rttt.cpp +++ b/test/catch_rttt.cpp @@ -3,15 +3,9 @@ #include "catch2/catch.hpp" #include "rttt.hpp" -#include "config.hpp" +#include "rttt/config.hpp" SCENARIO("We can parse a path correctly") { - // Test split - auto v = rttt::split("/r/front", "/"); - REQUIRE(v.size() == 2); - REQUIRE(v[0] == "r"); - REQUIRE(v[1] == "front"); - auto p = rttt::parse_path("/hn/news"); REQUIRE(p.mode == rttt::list_mode::story); REQUIRE(p.type == rttt::SiteType::HN); |