We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
expect
1 parent 42718ad commit 75572fbCopy full SHA for 75572fb
seeds/example-utility.json
@@ -0,0 +1,45 @@
1
+{
2
+ "version": 0,
3
+ "seeds": {
4
+ "expect": {
5
+ "type": "map",
6
+ "items": {
7
+ "type": "var",
8
+ "name": "arg:args"
9
+ },
10
+ "block": {
11
12
+ "name": {
13
14
+ "name": "value"
15
16
+ "else": {
17
+ "type": "throw",
18
+ "error": {
19
+ "type": "render",
20
+ "template": "Argument {{key}} is expected but was not set",
21
+ "vars": {
22
+ "key": {
23
24
25
+ }
26
27
28
29
30
31
+ "expect-test": {
32
+ "type": "let",
33
+ "private": true,
34
+ "comment": "This should throw because `not_set` is not set",
35
+ "name": "arg:args",
36
+ "value": [
37
+ "openai_api_key",
38
+ "not_set"
39
+ ],
40
41
+ "seed": "expect"
42
43
44
45
+}
0 commit comments