From b917233d4b618d587f569706d8d528b051efdba4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 31 Dec 2016 03:14:50 +0300 Subject: Tests cleanup --- unit-tests/function/call.test | 2 +- unit-tests/function/driver.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'unit-tests') diff --git a/unit-tests/function/call.test b/unit-tests/function/call.test index 5584c15..f3b59b9 100644 --- a/unit-tests/function/call.test +++ b/unit-tests/function/call.test @@ -140,7 +140,7 @@ EOE : member-function : -$* <'print $dummy.length([string] abc)' >'3' +$* <'print $dummy.length([path] abc)' >'3' : data-member : diff --git a/unit-tests/function/driver.cxx b/unit-tests/function/driver.cxx index 235af0c..9e50973 100644 --- a/unit-tests/function/driver.cxx +++ b/unit-tests/function/driver.cxx @@ -45,8 +45,8 @@ namespace build2 f[".qual"] = []() {return "abc";}; - f[".length"] = &string::size; // Member function. - f[".type"] = &name::type; // Data member. + f[".length"] = &path::size; // Member function. + f[".type"] = &name::type; // Data member. f[".abs"] = [](dir_path d) {return d.absolute ();}; -- cgit v1.1