style: renames testdata so tests can actually be parsed at a glance
This commit is contained in:
parent
a4d2e919dc
commit
3c2a0129c0
83 changed files with 122 additions and 131 deletions
5
testdata/template__enum__err.ct
vendored
5
testdata/template__enum__err.ct
vendored
|
|
@ -1,5 +0,0 @@
|
|||
# enum errors on invalid value
|
||||
$ fecho tpl {{ enum .LEVEL "info" "warn" }}
|
||||
$ pda set level@tple < tpl
|
||||
$ pda get level@tple LEVEL=debug --> FAIL
|
||||
FAIL cannot get 'level@tple': template: cmd:1:3: executing "cmd" at <enum .LEVEL "info" "warn">: error calling enum: invalid value 'debug', allowed: [info warn]
|
||||
Loading…
Add table
Add a link
Reference in a new issue