aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/test/rule.cxx2
-rw-r--r--build2/test/script/script.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index 02026e8..9861baf 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -585,7 +585,7 @@ namespace build2
if (t == nullptr)
fail << "invalid test executable override: unknown target: '"
- << n << "'";
+ << *n << "'";
}
}
else
diff --git a/build2/test/script/script.cxx b/build2/test/script/script.cxx
index c2b13ca..c5cede8 100644
--- a/build2/test/script/script.cxx
+++ b/build2/test/script/script.cxx
@@ -552,7 +552,7 @@ namespace build2
t = search_existing (*n, tt.base_scope ());
if (t == nullptr)
- fail << "unknown target '" << n << "' in test variable";
+ fail << "unknown target '" << *n << "' in test variable";
}
}
else