fix: update tests
This commit is contained in:
parent
fd8a2843ba
commit
bb5caa5388
10 changed files with 28 additions and 6 deletions
|
|
@ -18,6 +18,10 @@ A first variable. +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` |
|
||||||
A second variable. +
|
A second variable. +
|
||||||
**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" +
|
**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" +
|
||||||
**Default**: the value of the variable "var1".
|
**Default**: the value of the variable "var1". +
|
||||||
|
**Examples**:
|
||||||
|
|
||||||
|
* '#b2b1b1'
|
||||||
|
* '#b3b2b2'
|
||||||
|====
|
|====
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,10 @@
|
||||||
],
|
],
|
||||||
"descriptions": [
|
"descriptions": [
|
||||||
"A second variable."
|
"A second variable."
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
"#b2b1b1",
|
||||||
|
"#b3b2b2"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| **var1**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: #a1a1a1<br/>**Examples**: <br/>- #b1b1b1<br/>- #b2b2b2 |
|
| **var1**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: #a1a1a1<br/>**Examples**: <br/>- #b1b1b1<br/>- #b2b2b2 |
|
||||||
| **var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "var1". |
|
| **var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "var1".<br/>**Examples**: <br/>- #b2b1b1<br/>- #b3b2b2 |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,7 @@
|
||||||
│ │ "^#(?:[0-9a-f]{3}){1,2}$" │
|
│ │ "^#(?:[0-9a-f]{3}){1,2}$" │
|
||||||
│ │ [1mDefault[0m: the value of the variable │
|
│ │ [1mDefault[0m: the value of the variable │
|
||||||
│ │ "var1". │
|
│ │ "var1". │
|
||||||
|
│ │ [1mExamples[0m: │
|
||||||
|
│ │ - #b2b1b1 │
|
||||||
|
│ │ - #b3b2b2 │
|
||||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
var1: '#b1b1b1'
|
var1: '#b1b1b1'
|
||||||
var2: '#a1a1a1'
|
var2: '#b2b1b1'
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ A first variable. +
|
||||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` |
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[regexp]` `standard` `mandatory` |
|
||||||
A second variable. +
|
A second variable. +
|
||||||
**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" +
|
**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$" +
|
||||||
**Default**: the value of the variable "rougail.var1".
|
**Default**: the value of the variable "rougail.var1". +
|
||||||
|
**Examples**:
|
||||||
|
|
||||||
|
* '#b2b1b1'
|
||||||
|
* '#b3b2b2'
|
||||||
|====
|
|====
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,6 +79,10 @@
|
||||||
],
|
],
|
||||||
"descriptions": [
|
"descriptions": [
|
||||||
"A second variable."
|
"A second variable."
|
||||||
|
],
|
||||||
|
"examples": [
|
||||||
|
"#b2b1b1",
|
||||||
|
"#b3b2b2"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| **rougail.var1**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: #a1a1a1<br/>**Examples**: <br/>- #b1b1b1<br/>- #b2b2b2 |
|
| **rougail.var1**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: #a1a1a1<br/>**Examples**: <br/>- #b1b1b1<br/>- #b2b2b2 |
|
||||||
| **rougail.var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "rougail.var1". |
|
| **rougail.var2**<br/>[`regexp`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A second variable.<br/>**Validator**: text based with regular expressions "^#(?:[0-9a-f]{3}){1,2}$"<br/>**Default**: the value of the variable "rougail.var1".<br/>**Examples**: <br/>- #b2b1b1<br/>- #b3b2b2 |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,7 @@
|
||||||
│ │ "^#(?:[0-9a-f]{3}){1,2}$" │
|
│ │ "^#(?:[0-9a-f]{3}){1,2}$" │
|
||||||
│ │ [1mDefault[0m: the value of the variable │
|
│ │ [1mDefault[0m: the value of the variable │
|
||||||
│ │ "rougail.var1". │
|
│ │ "rougail.var1". │
|
||||||
|
│ │ [1mExamples[0m: │
|
||||||
|
│ │ - #b2b1b1 │
|
||||||
|
│ │ - #b3b2b2 │
|
||||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
---
|
---
|
||||||
rougail:
|
rougail:
|
||||||
var1: '#b1b1b1'
|
var1: '#b1b1b1'
|
||||||
var2: '#a1a1a1'
|
var2: '#b2b1b1'
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue