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
92 B
Text
5 lines
92 B
Text
# command: ["format", "-", "--check"]
|
|
{ a = 0 }
|
|
|
|
# output:
|
|
The file is formatted correctly.
|