aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/name
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-16 14:14:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-16 14:14:15 +0200
commit530e8914ba00ce0e7ee89ba30d2b88f2c09f43c9 (patch)
tree0ca06c48d30ae06d8407da34bd02c57140b71062 /unit-tests/name
parent44e1022f8141bd57756c2be4277c728ca7443eb3 (diff)
Split stream verbosity into components (path, extension)
Use to make sure structured result output always contains absolute target path.
Diffstat (limited to 'unit-tests/name')
-rw-r--r--unit-tests/name/driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-tests/name/driver.cxx b/unit-tests/name/driver.cxx
index d454685..57d9c3c 100644
--- a/unit-tests/name/driver.cxx
+++ b/unit-tests/name/driver.cxx
@@ -48,7 +48,7 @@ namespace build2
auto ts = [] (const name& n, bool quote = true)
{
ostringstream os;
- stream_verb (os, 1);
+ stream_verb (os, stream_verbosity (0, 1));
to_stream (os, n, quote);
return os.str ();
};