Skip to content

Commit f04bf82

Browse files
committed
3.3: adapt closures sample
samples have been structured to be implemented one by one, and the closures sample is meant to be handled before implementing maps and lists.
1 parent 0653723 commit f04bf82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

biscuit/test/samples/current/samples.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2800,15 +2800,15 @@
28002800
}
28012801
],
28022802
"policies": [
2803-
"allow if [true].any($p -> [true].all($p -> $p))"
2803+
"allow if {true}.any($p -> {true}.all($p -> $p))"
28042804
]
28052805
},
28062806
"result": {
28072807
"Err": {
28082808
"Execution": "ShadowedVariable"
28092809
}
28102810
},
2811-
"authorizer_code": "allow if [true].any($p -> [true].all($p -> $p));\n",
2811+
"authorizer_code": "allow if {true}.any($p -> {true}.all($p -> $p));\n",
28122812
"revocation_ids": [
28132813
"2cd348b6df5f08b900903fd8d3fbea0bb89b665c331a2aa2131e0b8ecb38b3550275d4ccd8db35da6c4433eed1d456cfb761e3fcc7845894d891e986ca044b02"
28142814
]

0 commit comments

Comments
 (0)