rcl/golden/cmd/format_check_cli_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

5 lines
161 B
Text

# command: ["format", "--check", "_input_fmt_ok.rcl", "_input_fmt_err.rcl"]
# output:
Would modify _input_fmt_err.rcl
Error: 1 of 2 files would be reformatted.