mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
4ba95d0cc4
Also future-proofing format pkg tests to be 1.0 compatible. Signed-off-by: Johan Fylling <johan.dev@fylling.se>
27 lines
445 B
Plaintext
27 lines
445 B
Plaintext
# The blank lines below me should be gone! (except one)
|
|
|
|
|
|
# Comment!
|
|
package a.b
|
|
|
|
# I also, am a comment.
|
|
import data.x.y.z
|
|
import data.a.b.c # Another comment!
|
|
# I belong with data.a, there should be a newline before me.
|
|
import data.a
|
|
import data.f.g
|
|
|
|
default foo = false
|
|
foo[x] {
|
|
not x = g
|
|
}
|
|
|
|
globals = {"foo": "bar",
|
|
"fizz": "buzz"}
|
|
|
|
# Latent comment.
|
|
|
|
r = y {
|
|
y = x
|
|
split("foo.bar", ".", input.x) with input as {"x": x}
|