aboutsummaryrefslogtreecommitdiff
path: root/test/hostlist/hostlisttest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/hostlist/hostlisttest.cpp')
-rw-r--r--test/hostlist/hostlisttest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hostlist/hostlisttest.cpp b/test/hostlist/hostlisttest.cpp
index 5270118..7f5c954 100644
--- a/test/hostlist/hostlisttest.cpp
+++ b/test/hostlist/hostlisttest.cpp
@@ -39,9 +39,9 @@ void HostlistTest::checkRules()
auto result = tree.match(domain, request);
QCOMPARE(result.length(), matches);
if(matches > 0)
- QCOMPARE(result.constFirst()->action(), action);
+ QCOMPARE(result.constFirst()->action().first, action);
if(action == FilterLeaf::Redirect)
- QCOMPARE(result.constFirst()->redirect(), QLatin1Literal("127.0.0.1"));
+ QCOMPARE(result.constFirst()->action().second, QLatin1Literal("127.0.0.1"));
}
void HostlistTest::benchmark_parse()