This is a small enhancement. I'd like jsonnet_to_json_test to support unified diff output. Because unified diffs include some lines of context, this would make some failures easier to interpret. I've found that unified diffs are generally preferred. For example, they're git's default output.
If --normal diffs were chosen on purpose for jsonnet_to_json_test, then some way to customize the diff command would be helpful. Otherwise, I suggest changing the default to --unified
This is a small enhancement. I'd like
jsonnet_to_json_test
to support unified diff output. Because unified diffs include some lines of context, this would make some failures easier to interpret. I've found that unified diffs are generally preferred. For example, they'regit
's default output.If
--normal
diffs were chosen on purpose forjsonnet_to_json_test
, then some way to customize the diff command would be helpful. Otherwise, I suggest changing the default to--unified