aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2022-04-07 19:14:08 +0200
committerFabian Groffen <grobian@gentoo.org>2022-04-07 19:14:08 +0200
commit82f8dc2ee9ba0ff97924df0dcc3feba3935b979c (patch)
treeb158f05e3b3b11808fb7145d51b962b9513ef2bd /tests
parentbuildsys: regenerate (diff)
downloadportage-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.good4
-rw-r--r--tests/qdepends/list04.good4
-rw-r--r--tests/qdepends/list05.good4
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
)
)