rcl/golden/cmd/format_check_changed.test
Ruud van Asseldonk e8adebe12e Add goldens to cover 'format' and 'query' commands
Now that we have the ability to specify command-line arguments in tests,
we can test more of the 'main' module. In particular, we can test the
query and format commands in modes that we couldn't previously exercise.
2025-08-25 22:58:11 +02:00

6 lines
116 B
Text

# command: ["format", "-", "--check"]
{a=0}
# output:
Would modify stdin
Error: 1 of 1 files would be reformatted.