summaryrefslogtreecommitdiff
path: root/lib/model/tests/parent.t
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-05-06 16:40:54 +0200
committerSébastien Dailly <sebastien@dailly.me>2026-05-06 16:44:25 +0200
commita5efd7d15b4d049a4ed539ed5d9c2f1037d00973 (patch)
tree9b1f002f487b94c8ec7a6b37b761f2d2def10208 /lib/model/tests/parent.t
parentae4814880d7a2ad9c96e8f4001edf5032b9a7fb2 (diff)
Use the double dash as arguments in tests
Diffstat (limited to 'lib/model/tests/parent.t')
-rw-r--r--lib/model/tests/parent.t10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/model/tests/parent.t b/lib/model/tests/parent.t
index 8e77578..1ccf8e8 100644
--- a/lib/model/tests/parent.t
+++ b/lib/model/tests/parent.t
@@ -1,7 +1,7 @@
A root content does not have any parent
- $ tests -parent "entity" <<EOF
+ $ tests --parent "entity" <<EOF
> {
> "content": [
> {
@@ -14,7 +14,7 @@ A root content does not have any parent
A root content is the root of itself
- $ tests -parent -root "entity" <<EOF
+ $ tests --parent --root "entity" <<EOF
> {
> "content": [
> {
@@ -27,7 +27,7 @@ A root content is the root of itself
The parent of a subcontent shall never been None, and will target the container
- $ tests -parent "details" <<EOF
+ $ tests --parent "details" <<EOF
> {
> "content": [
> {
@@ -45,7 +45,7 @@ The parent of a subcontent shall never been None, and will target the container
The parent element can be a subcontent itself
- $ tests -parent "level2" <<EOF
+ $ tests --parent "level2" <<EOF
> {
> "content": [
> {
@@ -68,7 +68,7 @@ The parent element can be a subcontent itself
The root element is the top content
- $ tests -parent -root "level2" <<EOF
+ $ tests --parent --root "level2" <<EOF
> {
> "content": [
> {