diff options
Diffstat (limited to 'unit-tests/function')
-rw-r--r-- | unit-tests/function/call.test | 2 | ||||
-rw-r--r-- | unit-tests/function/driver.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
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 ();}; |