From a5efd7d15b4d049a4ed539ed5d9c2f1037d00973 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 6 May 2026 16:40:54 +0200 Subject: Use the double dash as arguments in tests --- lib/query/tests/insert.t | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/query/tests/insert.t') diff --git a/lib/query/tests/insert.t b/lib/query/tests/insert.t index 578dae4..e060ad4 100644 --- a/lib/query/tests/insert.t +++ b/lib/query/tests/insert.t @@ -7,7 +7,7 @@ subcontent) Minimal exemple, a content without any field does not have any value: - $ tests -insert < { > "content": [ > { @@ -25,7 +25,7 @@ Ensure an error is raised if the value does not match the expected type. Here, the year is declared as an integer, but the value is provided as string. This error is expected to be checked and reported. - $ tests -insert < { > "content": [ > { @@ -49,7 +49,7 @@ This error is expected to be checked and reported. Fatal error: exception Query__Encoder.TypeMismatch [2] - $ tests -insert < { > "content": [ > { @@ -85,7 +85,7 @@ This error is expected to be checked and reported. {"name":"name","year":1234} Any value can be omitted and will be replaced by the default value: - $ tests -insert < { > "content": [ > { @@ -113,7 +113,7 @@ If the field is "required" the value is still inserted: the requirement feature is only functionnal; this shall not block the creation of the content in the database. - $ tests -insert < { > "content": [ > { @@ -140,7 +140,7 @@ database. A subcontent is linked to the parent: - $ tests -insert < { > "content": [ > { @@ -208,7 +208,7 @@ A subcontent is linked to the parent: In this syntax, external references are declared inside the feature referencing them. - $ tests -insert < { > "content": [ > { @@ -269,7 +269,7 @@ Four contents are created for the type referential here: - Two as contents linked referenced by the content "entity" (ids 1 and 2). - Two as contents not referenced at all (ids 3 and 4). - $ tests -insert < { > "content": [ > { @@ -337,7 +337,7 @@ Four contents are created for the type referential here: Subcontent are also managed in the same way. - $ tests -insert < { > "content": [ > { -- cgit v1.2.3