diff options
Diffstat (limited to 'lib/configuration/tests')
| -rw-r--r-- | lib/configuration/tests/configuration.t | 8 | ||||
| -rw-r--r-- | lib/configuration/tests/errors.t | 10 | ||||
| -rw-r--r-- | lib/configuration/tests/tree.t | 8 |
3 files changed, 13 insertions, 13 deletions
diff --git a/lib/configuration/tests/configuration.t b/lib/configuration/tests/configuration.t index a732db6..e44b91a 100644 --- a/lib/configuration/tests/configuration.t +++ b/lib/configuration/tests/configuration.t @@ -2,7 +2,7 @@ The configuration is written in JSON5 format. Minimal configuration file with nothing: - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { "content" : [] } > > EOF @@ -10,7 +10,7 @@ Minimal configuration file with nothing: Trailing coma are accepted: - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { "content" : > [ > { @@ -23,7 +23,7 @@ Trailing coma are accepted: Comments are accepted: - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { "content" : > [ > { @@ -37,7 +37,7 @@ Comments are accepted: Cycles between elements are accepted when they are not mandatory to each other - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { > "content": [ > { diff --git a/lib/configuration/tests/errors.t b/lib/configuration/tests/errors.t index 6b5584e..58c15ed 100644 --- a/lib/configuration/tests/errors.t +++ b/lib/configuration/tests/errors.t @@ -2,7 +2,7 @@ Differents invalid configuration. All of them shall report the error properly Every content shall have an identifier - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { > "content": [ > { @@ -18,7 +18,7 @@ Every content shall have an identifier The content ID cannot be empty: - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { > "content": [ > { @@ -33,7 +33,7 @@ The content ID cannot be empty: The content ID cannot be contains "." (this charater is used internaly): - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { > "content": [ > { @@ -51,7 +51,7 @@ The content ID cannot be contains "." (this charater is used internaly): A reference shall point to an existing content: - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { > "content": [ > { @@ -78,7 +78,7 @@ A reference shall point to an existing content: Cycles between required content are not accepted - $ tests -configuration <<EOF + $ tests --configuration <<EOF > { > "content": [ > { diff --git a/lib/configuration/tests/tree.t b/lib/configuration/tests/tree.t index b69c830..2e9df4b 100644 --- a/lib/configuration/tests/tree.t +++ b/lib/configuration/tests/tree.t @@ -4,7 +4,7 @@ configuration. Each reference field introduce a dependency between the content having the field and the content targeted by the field. - $ tests -configuration -tree <<EOF + $ tests --configuration --tree <<EOF > { > "content": [ > { @@ -42,7 +42,7 @@ and the content targeted by the field. The tree only contains root elements. Links between subcontent are reported as link between their respective root content. - $ tests -configuration -tree <<EOF + $ tests --configuration --tree <<EOF > { > "content": [ > { @@ -81,7 +81,7 @@ link between their respective root content. } - $ tests -configuration -tree <<EOF + $ tests --configuration --tree <<EOF > { > "content": [ > { @@ -125,7 +125,7 @@ link between their respective root content. A content is allowed to loop to itself, directly or indirectly: - $ tests -configuration -tree <<EOF + $ tests --configuration --tree <<EOF > { > "content": [ > { |
