mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
crypto builtins (#57)
Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
committed by
GitHub
parent
ab968c2386
commit
70bf371ebf
@@ -124,21 +124,27 @@ cases:
|
||||
package test
|
||||
import future.keywords
|
||||
import future["keywords"]
|
||||
error: "this import shadows previous import of `contains`"
|
||||
#error: "this import shadows previous import of `contains`"
|
||||
query: data.test
|
||||
want_result: {}
|
||||
|
||||
- note: shadow/1
|
||||
rego: |
|
||||
package test
|
||||
import future.keywords
|
||||
import future.keywords.if
|
||||
error: "this import shadows previous import of `if`"
|
||||
#error: "this import shadows previous import of `if`"
|
||||
query: data.test
|
||||
want_result: {}
|
||||
|
||||
- note: shadow/2
|
||||
rego: |
|
||||
package test
|
||||
import future.keywords.if
|
||||
import future.keywords
|
||||
error: "this import shadows previous import of `if`"
|
||||
#error: "this import shadows previous import of `if`"
|
||||
query: data.test
|
||||
want_result: {}
|
||||
|
||||
- note: in-as-var
|
||||
rego: |
|
||||
|
||||
Reference in New Issue
Block a user