mirror of
https://github.com/ruuda/rcl.git
synced 2025-12-23 04:47:19 +00:00
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.
5 lines
161 B
Text
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.
|