blob: b2f44039edb14918386c650c6edac8c52207f07f [file] [log] [blame]
cue eval test.cue -t env=prod
cmp stdout expect-stdout
# TODO: report errors for invalid tags?
-- test.cue --
{
environment: "prod" | "staging" @tag(env,short=prod|staging)
}
-- expect-stdout --
environment: "prod"