Files
releases/format/testfiles/v1/test.rego.error
T
Johan Fylling 4ba95d0cc4 format: Bracketing keyword ref elements in formatter output (#7010)
Also future-proofing format pkg tests to be 1.0 compatible.

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2024-09-26 10:24:19 +02:00

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}