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.
6 lines
116 B
Text
6 lines
116 B
Text
# command: ["format", "-", "--check"]
|
|
{a=0}
|
|
|
|
# output:
|
|
Would modify stdin
|
|
Error: 1 of 1 files would be reformatted.
|