aboutsummaryrefslogtreecommitdiff
path: root/unit-tests
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-12-31 03:14:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-05 15:30:49 +0300
commitb917233d4b618d587f569706d8d528b051efdba4 (patch)
tree1ff132a7299cb962a5be4be3a4b0fadeea2141f3 /unit-tests
parente1837dc7da78055ab3e355c3e941a7415146c1b8 (diff)
Tests cleanup
Diffstat (limited to 'unit-tests')
-rw-r--r--unit-tests/function/call.test2
-rw-r--r--unit-tests/function/driver.cxx4
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 ();};