rcl/golden/cmd/patch_error_invalid_path.test
Ruud van Asseldonk 606cdf08f5 Add more goldens to test 'rcl patch'
These tests together now provide 100% line coverage of rcl::patch.
2025-08-25 22:58:11 +02:00

11 lines
257 B
Text

# command: ["patch", "-", "invalid path", "1"]
null
# output:
path:1:1
1 │ invalid path
╵ ^~~~~~~~~~~~
Error: This path segment is not a valid identifier.
Help: A document path can only contain identifiers, not list indexes or arbitrary keys.