diff options
author | Fabian Groffen <grobian@gentoo.org> | 2022-04-07 19:14:08 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2022-04-07 19:14:08 +0200 |
commit | 82f8dc2ee9ba0ff97924df0dcc3feba3935b979c (patch) | |
tree | b158f05e3b3b11808fb7145d51b962b9513ef2bd /tests | |
parent | buildsys: regenerate (diff) | |
download | portage-utils-82f8dc2ee9ba0ff97924df0dcc3feba3935b979c.tar.gz portage-utils-82f8dc2ee9ba0ff97924df0dcc3feba3935b979c.tar.bz2 portage-utils-82f8dc2ee9ba0ff97924df0dcc3feba3935b979c.zip |
libq/dep: print single nodes on a single line
condense conditional and use-deps to a single line when there's a single
target, e.g.:
use? ( cat/pkg )
instead of
use? (
cat/pkg
)
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qdepends/list03.good | 4 | ||||
-rw-r--r-- | tests/qdepends/list04.good | 4 | ||||
-rw-r--r-- | tests/qdepends/list05.good | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/tests/qdepends/list03.good b/tests/qdepends/list03.good index f66b6363..d0eb5d26 100644 --- a/tests/qdepends/list03.good +++ b/tests/qdepends/list03.good @@ -1,5 +1,3 @@ DEPEND=" - foo? ( - a/b - ) + foo? ( a/b ) " diff --git a/tests/qdepends/list04.good b/tests/qdepends/list04.good index 2457cafd..7f0887ad 100644 --- a/tests/qdepends/list04.good +++ b/tests/qdepends/list04.good @@ -1,5 +1,3 @@ DEPEND=" - || ( - a/b - ) + || ( a/b ) " diff --git a/tests/qdepends/list05.good b/tests/qdepends/list05.good index 0b7d4202..868efae2 100644 --- a/tests/qdepends/list05.good +++ b/tests/qdepends/list05.good @@ -1,9 +1,7 @@ DEPEND=" || ( || ( - || ( - x - ) + || ( x ) a ) ) |