From 17b589c2689481c04a70d900916e60bd15e26251 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 30 Sep 2025 21:57:05 +0200 Subject: [PATCH] fix: tests for formatter --- .../test/20_2family_looks_like_dynamic.adoc | 24 ++++ .../test/20_2family_looks_like_dynamic.json | 89 ++++++++++++++ .../test/20_2family_looks_like_dynamic.md | 9 ++ .../test/20_2family_looks_like_dynamic.sh | 19 +++ .../test/20_2family_looks_like_variable.adoc | 15 +++ .../test/20_2family_looks_like_variable.json | 48 ++++++++ .../test/20_2family_looks_like_variable.md | 8 ++ .../test/20_2family_looks_like_variable.sh | 14 +++ .../warnings_20_2family_looks_like_dynamic | 1 + .../warnings_20_2family_looks_like_variable | 1 + .../20_2family_looks_like_dynamic.md | 10 ++ .../20_2family_looks_like_variable.md | 7 ++ .../warnings_20_2family_looks_like_dynamic | 1 + .../warnings_20_2family_looks_like_variable | 1 + .../20_2family_looks_like_dynamic.adoc | 26 +++++ .../20_2family_looks_like_dynamic.json | 109 ++++++++++++++++++ .../20_2family_looks_like_dynamic.md | 11 ++ .../20_2family_looks_like_dynamic.sh | 24 ++++ .../20_2family_looks_like_variable.adoc | 17 +++ .../20_2family_looks_like_variable.json | 68 +++++++++++ .../20_2family_looks_like_variable.md | 10 ++ .../20_2family_looks_like_variable.sh | 19 +++ .../warnings_20_2family_looks_like_dynamic | 1 + .../warnings_20_2family_looks_like_variable | 1 + .../20_2family_looks_like_dynamic.md | 11 ++ .../20_2family_looks_like_variable.md | 8 ++ .../warnings_20_2family_looks_like_dynamic | 1 + .../warnings_20_2family_looks_like_variable | 1 + 28 files changed, 554 insertions(+) create mode 100644 tests/results/test/20_2family_looks_like_dynamic.adoc create mode 100644 tests/results/test/20_2family_looks_like_dynamic.json create mode 100644 tests/results/test/20_2family_looks_like_dynamic.md create mode 100644 tests/results/test/20_2family_looks_like_dynamic.sh create mode 100644 tests/results/test/20_2family_looks_like_variable.adoc create mode 100644 tests/results/test/20_2family_looks_like_variable.json create mode 100644 tests/results/test/20_2family_looks_like_variable.md create mode 100644 tests/results/test/20_2family_looks_like_variable.sh create mode 100644 tests/results/test/warnings_20_2family_looks_like_dynamic create mode 100644 tests/results/test/warnings_20_2family_looks_like_variable create mode 100644 tests/results/test_examples/20_2family_looks_like_dynamic.md create mode 100644 tests/results/test_examples/20_2family_looks_like_variable.md create mode 100644 tests/results/test_examples/warnings_20_2family_looks_like_dynamic create mode 100644 tests/results/test_examples/warnings_20_2family_looks_like_variable create mode 100644 tests/results/test_namespace/20_2family_looks_like_dynamic.adoc create mode 100644 tests/results/test_namespace/20_2family_looks_like_dynamic.json create mode 100644 tests/results/test_namespace/20_2family_looks_like_dynamic.md create mode 100644 tests/results/test_namespace/20_2family_looks_like_dynamic.sh create mode 100644 tests/results/test_namespace/20_2family_looks_like_variable.adoc create mode 100644 tests/results/test_namespace/20_2family_looks_like_variable.json create mode 100644 tests/results/test_namespace/20_2family_looks_like_variable.md create mode 100644 tests/results/test_namespace/20_2family_looks_like_variable.sh create mode 100644 tests/results/test_namespace/warnings_20_2family_looks_like_dynamic create mode 100644 tests/results/test_namespace/warnings_20_2family_looks_like_variable create mode 100644 tests/results/test_namespace_examples/20_2family_looks_like_dynamic.md create mode 100644 tests/results/test_namespace_examples/20_2family_looks_like_variable.md create mode 100644 tests/results/test_namespace_examples/warnings_20_2family_looks_like_dynamic create mode 100644 tests/results/test_namespace_examples/warnings_20_2family_looks_like_variable diff --git a/tests/results/test/20_2family_looks_like_dynamic.adoc b/tests/results/test/20_2family_looks_like_dynamic.adoc new file mode 100644 index 000000000..69b37328d --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic.adoc @@ -0,0 +1,24 @@ +== my_family + +`standard` + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**my_family.dynamic** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | +Dynamic. + +**Default**: + +* val1 +* val2 +| + +**my_family.var** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | +A variable. + +**Default**: true +|==== + diff --git a/tests/results/test/20_2family_looks_like_dynamic.json b/tests/results/test/20_2family_looks_like_dynamic.json new file mode 100644 index 000000000..59828f48d --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic.json @@ -0,0 +1,89 @@ +{ + "my_family": { + "type": "family", + "informations": { + "paths": [ + "my_family" + ], + "names": [ + "my_family" + ], + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "my_family.dynamic": { + "type": "variable", + "default": { + "name": "Default", + "values": [ + "val1", + "val2" + ] + }, + "properties": [ + { + "type": "type", + "name": "string" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + }, + { + "type": "property", + "name": "unique" + }, + { + "type": "multiple", + "name": "multiple" + } + ], + "paths": [ + "my_family.dynamic" + ], + "names": [ + "dynamic" + ] + }, + "my_family.var": { + "type": "variable", + "default": { + "name": "Default", + "values": true + }, + "properties": [ + { + "type": "type", + "name": "boolean" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "paths": [ + "my_family.var" + ], + "names": [ + "var" + ], + "descriptions": [ + "A variable." + ] + } + } + } +} \ No newline at end of file diff --git a/tests/results/test/20_2family_looks_like_dynamic.md b/tests/results/test/20_2family_looks_like_dynamic.md new file mode 100644 index 000000000..71b818375 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic.md @@ -0,0 +1,9 @@ +# my_family + +`standard` + +| Variable                                                                                                                       | Description                                                                                                                    | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **my_family.dynamic**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | Dynamic.
**Default**:
- val1
- val2 | +| **my_family.var**
[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.
**Default**: true | + diff --git a/tests/results/test/20_2family_looks_like_dynamic.sh b/tests/results/test/20_2family_looks_like_dynamic.sh new file mode 100644 index 000000000..167aed393 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_dynamic.sh @@ -0,0 +1,19 @@ + + +my_family + + + standard  + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ my_family.dynamic │ Dynamic. │ +│  string   standard   mandatory    │ Default: │ +│ unique   multiple  │ - val1 │ +│ │ - val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ my_family.var │ A variable. │ +│  boolean   standard   mandatory  │ Default: true │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/20_2family_looks_like_variable.adoc b/tests/results/test/20_2family_looks_like_variable.adoc new file mode 100644 index 000000000..901c97cac --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable.adoc @@ -0,0 +1,15 @@ +== my_family + +`standard` + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**my_family.default** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | +Default. + +**Default**: true +|==== + diff --git a/tests/results/test/20_2family_looks_like_variable.json b/tests/results/test/20_2family_looks_like_variable.json new file mode 100644 index 000000000..63d860f28 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable.json @@ -0,0 +1,48 @@ +{ + "my_family": { + "type": "family", + "informations": { + "paths": [ + "my_family" + ], + "names": [ + "my_family" + ], + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "my_family.default": { + "type": "variable", + "default": { + "name": "Default", + "values": true + }, + "properties": [ + { + "type": "type", + "name": "boolean" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "paths": [ + "my_family.default" + ], + "names": [ + "default" + ] + } + } + } +} \ No newline at end of file diff --git a/tests/results/test/20_2family_looks_like_variable.md b/tests/results/test/20_2family_looks_like_variable.md new file mode 100644 index 000000000..551cd8bbd --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable.md @@ -0,0 +1,8 @@ +# my_family + +`standard` + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **my_family.default**
[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Default.
**Default**: true | + diff --git a/tests/results/test/20_2family_looks_like_variable.sh b/tests/results/test/20_2family_looks_like_variable.sh new file mode 100644 index 000000000..b22596d13 --- /dev/null +++ b/tests/results/test/20_2family_looks_like_variable.sh @@ -0,0 +1,14 @@ + + +my_family + + + standard  + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ my_family.default │ Default. │ +│  boolean   standard   mandatory  │ Default: true │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/warnings_20_2family_looks_like_dynamic b/tests/results/test/warnings_20_2family_looks_like_dynamic new file mode 100644 index 000000000..e707364ec --- /dev/null +++ b/tests/results/test/warnings_20_2family_looks_like_dynamic @@ -0,0 +1 @@ +["No attribute \"description\" for \"my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test/warnings_20_2family_looks_like_variable b/tests/results/test/warnings_20_2family_looks_like_variable new file mode 100644 index 000000000..bac0697e5 --- /dev/null +++ b/tests/results/test/warnings_20_2family_looks_like_variable @@ -0,0 +1 @@ +["No attribute \"description\" for \"my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_examples/20_2family_looks_like_dynamic.md b/tests/results/test_examples/20_2family_looks_like_dynamic.md new file mode 100644 index 000000000..06c138e94 --- /dev/null +++ b/tests/results/test_examples/20_2family_looks_like_dynamic.md @@ -0,0 +1,10 @@ +# Example with all variables modifiable + +```yaml +--- +my_family: + dynamic: + - val1 + - val2 + var: true +``` diff --git a/tests/results/test_examples/20_2family_looks_like_variable.md b/tests/results/test_examples/20_2family_looks_like_variable.md new file mode 100644 index 000000000..b7f43f6f8 --- /dev/null +++ b/tests/results/test_examples/20_2family_looks_like_variable.md @@ -0,0 +1,7 @@ +# Example with all variables modifiable + +```yaml +--- +my_family: + default: true +``` diff --git a/tests/results/test_examples/warnings_20_2family_looks_like_dynamic b/tests/results/test_examples/warnings_20_2family_looks_like_dynamic new file mode 100644 index 000000000..e707364ec --- /dev/null +++ b/tests/results/test_examples/warnings_20_2family_looks_like_dynamic @@ -0,0 +1 @@ +["No attribute \"description\" for \"my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_examples/warnings_20_2family_looks_like_variable b/tests/results/test_examples/warnings_20_2family_looks_like_variable new file mode 100644 index 000000000..bac0697e5 --- /dev/null +++ b/tests/results/test_examples/warnings_20_2family_looks_like_variable @@ -0,0 +1 @@ +["No attribute \"description\" for \"my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic.adoc b/tests/results/test_namespace/20_2family_looks_like_dynamic.adoc new file mode 100644 index 000000000..71a309a68 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic.adoc @@ -0,0 +1,26 @@ +== Variables for "Rougail" + +=== rougail.my_family + +`standard` + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.my_family.dynamic** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | +Dynamic. + +**Default**: + +* val1 +* val2 +| + +**rougail.my_family.var** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | +A variable. + +**Default**: true +|==== + diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic.json b/tests/results/test_namespace/20_2family_looks_like_dynamic.json new file mode 100644 index 000000000..7d6afe354 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic.json @@ -0,0 +1,109 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "paths": [ + "rougail" + ], + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "my_family": { + "type": "family", + "informations": { + "paths": [ + "rougail.my_family" + ], + "names": [ + "my_family" + ], + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "rougail.my_family.dynamic": { + "type": "variable", + "default": { + "name": "Default", + "values": [ + "val1", + "val2" + ] + }, + "properties": [ + { + "type": "type", + "name": "string" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + }, + { + "type": "property", + "name": "unique" + }, + { + "type": "multiple", + "name": "multiple" + } + ], + "paths": [ + "rougail.my_family.dynamic" + ], + "names": [ + "dynamic" + ] + }, + "rougail.my_family.var": { + "type": "variable", + "default": { + "name": "Default", + "values": true + }, + "properties": [ + { + "type": "type", + "name": "boolean" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "paths": [ + "rougail.my_family.var" + ], + "names": [ + "var" + ], + "descriptions": [ + "A variable." + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic.md b/tests/results/test_namespace/20_2family_looks_like_dynamic.md new file mode 100644 index 000000000..e2dce03d1 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic.md @@ -0,0 +1,11 @@ +# Variables for "Rougail" + +## rougail.my_family + +`standard` + +| Variable                                                                                                                       | Description                                                                                                                    | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.my_family.dynamic**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | Dynamic.
**Default**:
- val1
- val2 | +| **rougail.my_family.var**
[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.
**Default**: true | + diff --git a/tests/results/test_namespace/20_2family_looks_like_dynamic.sh b/tests/results/test_namespace/20_2family_looks_like_dynamic.sh new file mode 100644 index 000000000..1b39a9e6e --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_dynamic.sh @@ -0,0 +1,24 @@ + + +Variables for "Rougail" + + + + + rougail.my_family + + + standard  + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.my_family.dynamic │ Dynamic. │ +│  string   standard   mandatory    │ Default: │ +│ unique   multiple  │ - val1 │ +│ │ - val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.my_family.var │ A variable. │ +│  boolean   standard   mandatory  │ Default: true │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/20_2family_looks_like_variable.adoc b/tests/results/test_namespace/20_2family_looks_like_variable.adoc new file mode 100644 index 000000000..1202979aa --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable.adoc @@ -0,0 +1,17 @@ +== Variables for "Rougail" + +=== rougail.my_family + +`standard` + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.my_family.default** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | +Default. + +**Default**: true +|==== + diff --git a/tests/results/test_namespace/20_2family_looks_like_variable.json b/tests/results/test_namespace/20_2family_looks_like_variable.json new file mode 100644 index 000000000..ab53c1ed3 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable.json @@ -0,0 +1,68 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "paths": [ + "rougail" + ], + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "my_family": { + "type": "family", + "informations": { + "paths": [ + "rougail.my_family" + ], + "names": [ + "my_family" + ], + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "rougail.my_family.default": { + "type": "variable", + "default": { + "name": "Default", + "values": true + }, + "properties": [ + { + "type": "type", + "name": "boolean" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "paths": [ + "rougail.my_family.default" + ], + "names": [ + "default" + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/20_2family_looks_like_variable.md b/tests/results/test_namespace/20_2family_looks_like_variable.md new file mode 100644 index 000000000..08ae9dea5 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable.md @@ -0,0 +1,10 @@ +# Variables for "Rougail" + +## rougail.my_family + +`standard` + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.my_family.default**
[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Default.
**Default**: true | + diff --git a/tests/results/test_namespace/20_2family_looks_like_variable.sh b/tests/results/test_namespace/20_2family_looks_like_variable.sh new file mode 100644 index 000000000..02fd3da98 --- /dev/null +++ b/tests/results/test_namespace/20_2family_looks_like_variable.sh @@ -0,0 +1,19 @@ + + +Variables for "Rougail" + + + + + rougail.my_family + + + standard  + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.my_family.default │ Default. │ +│  boolean   standard   mandatory  │ Default: true │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/warnings_20_2family_looks_like_dynamic b/tests/results/test_namespace/warnings_20_2family_looks_like_dynamic new file mode 100644 index 000000000..7ac2fbe7f --- /dev/null +++ b/tests/results/test_namespace/warnings_20_2family_looks_like_dynamic @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace/warnings_20_2family_looks_like_variable b/tests/results/test_namespace/warnings_20_2family_looks_like_variable new file mode 100644 index 000000000..f688a53bb --- /dev/null +++ b/tests/results/test_namespace/warnings_20_2family_looks_like_variable @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace_examples/20_2family_looks_like_dynamic.md b/tests/results/test_namespace_examples/20_2family_looks_like_dynamic.md new file mode 100644 index 000000000..dea1e9f9c --- /dev/null +++ b/tests/results/test_namespace_examples/20_2family_looks_like_dynamic.md @@ -0,0 +1,11 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + my_family: + dynamic: + - val1 + - val2 + var: true +``` diff --git a/tests/results/test_namespace_examples/20_2family_looks_like_variable.md b/tests/results/test_namespace_examples/20_2family_looks_like_variable.md new file mode 100644 index 000000000..94ca877ea --- /dev/null +++ b/tests/results/test_namespace_examples/20_2family_looks_like_variable.md @@ -0,0 +1,8 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + my_family: + default: true +``` diff --git a/tests/results/test_namespace_examples/warnings_20_2family_looks_like_dynamic b/tests/results/test_namespace_examples/warnings_20_2family_looks_like_dynamic new file mode 100644 index 000000000..7ac2fbe7f --- /dev/null +++ b/tests/results/test_namespace_examples/warnings_20_2family_looks_like_dynamic @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.my_family.dynamic\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_dynamic/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace_examples/warnings_20_2family_looks_like_variable b/tests/results/test_namespace_examples/warnings_20_2family_looks_like_variable new file mode 100644 index 000000000..f688a53bb --- /dev/null +++ b/tests/results/test_namespace_examples/warnings_20_2family_looks_like_variable @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.my_family.default\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\"", "No attribute \"description\" for \"rougail.my_family\" in \"../../rougail-tests/structures/20_2family_looks_like_variable/rougail/00-base.yml\""] \ No newline at end of file