fix: update tests
This commit is contained in:
parent
1abdf419e6
commit
d5f46d305b
5 changed files with 79 additions and 0 deletions
14
tests/results/00_6choice_link/rougail/00-base.yml
Normal file
14
tests/results/00_6choice_link/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
version: 1.1
|
||||||
|
|
||||||
|
var1:
|
||||||
|
description: the first variable
|
||||||
|
choices:
|
||||||
|
- a
|
||||||
|
- b
|
||||||
|
- c
|
||||||
|
|
||||||
|
var2:
|
||||||
|
description: the second variable
|
||||||
|
default:
|
||||||
|
variable: _.var1
|
||||||
18
tests/results/00_6choice_variable_link/rougail/00-base.yml
Normal file
18
tests/results/00_6choice_variable_link/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
version: 1.1
|
||||||
|
|
||||||
|
var1: # a second variable
|
||||||
|
- a
|
||||||
|
- b
|
||||||
|
- c
|
||||||
|
|
||||||
|
var2:
|
||||||
|
description: a first variable
|
||||||
|
choices:
|
||||||
|
variable: _.var1
|
||||||
|
default: a
|
||||||
|
|
||||||
|
var3:
|
||||||
|
description: a third variable
|
||||||
|
default:
|
||||||
|
variable: _.var2
|
||||||
20
tests/results/00_6choice_variable_link2/rougail/00-base.yml
Normal file
20
tests/results/00_6choice_variable_link2/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
version: 1.1
|
||||||
|
|
||||||
|
var1: # a second variable
|
||||||
|
- a
|
||||||
|
- b
|
||||||
|
- c
|
||||||
|
|
||||||
|
var2:
|
||||||
|
description: a first variable
|
||||||
|
choices:
|
||||||
|
variable: _.var1
|
||||||
|
default: a
|
||||||
|
|
||||||
|
family:
|
||||||
|
|
||||||
|
var3:
|
||||||
|
description: a third variable
|
||||||
|
default:
|
||||||
|
variable: __.var2
|
||||||
18
tests/results/00_6regexp_link/rougail/00-base.yml
Normal file
18
tests/results/00_6regexp_link/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
version: 1.1
|
||||||
|
|
||||||
|
var1:
|
||||||
|
description: a first variable
|
||||||
|
test:
|
||||||
|
- '#b1b1b1'
|
||||||
|
- '#b2b2b2'
|
||||||
|
regexp: ^#(?:[0-9a-f]{3}){1,2}$
|
||||||
|
default: '#a1a1a1'
|
||||||
|
|
||||||
|
var2:
|
||||||
|
description: a second variable
|
||||||
|
test:
|
||||||
|
- '#b2b1b1'
|
||||||
|
- '#b3b2b2'
|
||||||
|
default:
|
||||||
|
variable: _.var1
|
||||||
|
|
@ -16,3 +16,12 @@ secret2:
|
||||||
- $
|
- $
|
||||||
- ^
|
- ^
|
||||||
default: value
|
default: value
|
||||||
|
|
||||||
|
secret3:
|
||||||
|
description: the third variable
|
||||||
|
type: secret
|
||||||
|
params:
|
||||||
|
max_len: 10
|
||||||
|
forbidden_char:
|
||||||
|
- $
|
||||||
|
default: value
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue