rcl/golden/cmd
Ruud van Asseldonk 7137cd5a91 Use ':' in assertions rather than ','
Initially I used a comma after assertions, like Python. It was always
a bit weird (even in Python), it's a statement but it has arguments.
This made formatting akward too. I justified it for myself by saying
"it's just a function call, but without the parens". That's how we
currently format it.

Then yesterday I was skimming through the Jsonnet docs, and they use
a colon rather than comma, and that looks much more pleasant! I should
steal the good ideas; if RCL can fix list comprehension order w.r.t
Python, then it can also fix this one.

For compatibility, accept the comma as well (for now), but make the
formatter emit the colon. Similar to the colon after 'else', it does
not have to be a breaking change.
2025-09-29 20:28:15 +02:00
..
_input_fmt_err.rcl Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
_input_fmt_ok.rcl Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
format_check_changed.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
format_check_cli_changed.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
format_check_cli_unchanged.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
format_check_unchanged.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
highlight_html.test Use ':' in assertions rather than ',' 2025-09-29 20:28:15 +02:00
patch_basic.test Support arbitrary commands in goldens, test patch 2025-08-25 22:58:11 +02:00
patch_check_changed.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
patch_check_unchanged.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00
patch_error_invalid_path.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
patch_error_invalid_replacement.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
patch_error_not_found_collection.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
patch_error_not_found_statements.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
patch_error_not_found_top_level.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
patch_let_expr.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
patch_let_seq.test Add more goldens to test 'rcl patch' 2025-08-25 22:58:11 +02:00
query_basic.test Add goldens to cover 'format' and 'query' commands 2025-08-25 22:58:11 +02:00