aboutsummaryrefslogtreecommitdiff
path: root/paludis/hooker_TEST.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/hooker_TEST.cc')
-rw-r--r--paludis/hooker_TEST.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/hooker_TEST.cc b/paludis/hooker_TEST.cc
index 91607ad..1026b3c 100644
--- a/paludis/hooker_TEST.cc
+++ b/paludis/hooker_TEST.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008, 2009 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -41,7 +41,7 @@ namespace test_cases
{
TestEnvironment env;
Hooker hooker(&env);
- HookResult result(make_named_values<HookResult>(value_for<n::max_exit_status>(0), value_for<n::output>("")));
+ HookResult result(make_named_values<HookResult>(n::max_exit_status() = 0, n::output() = ""));
hooker.add_dir(FSEntry("hooker_TEST_dir/"), false);
#ifdef ENABLE_PYTHON_HOOKS
@@ -146,7 +146,7 @@ namespace test_cases
{
TestEnvironment env;
Hooker hooker(&env);
- HookResult result(make_named_values<HookResult>(value_for<n::max_exit_status>(0), value_for<n::output>("")));
+ HookResult result(make_named_values<HookResult>(n::max_exit_status() = 0, n::output() = ""));
FSEntry("hooker_TEST_dir/several_output.out").unlink();