Skip to content

Comments

No trailing newline#1283

Merged
johnbartholomew merged 3 commits intogoogle:masterfrom
johnbartholomew:no-trailing-newline
Feb 19, 2026
Merged

No trailing newline#1283
johnbartholomew merged 3 commits intogoogle:masterfrom
johnbartholomew:no-trailing-newline

Conversation

@johnbartholomew
Copy link
Collaborator

Port google/go-jsonnet#843 to C++ jsonnet, and add CLI tests for it.

…-byte in bash

I thought I was being smart by using some bash stuff like $(< some_file) to read
files and compare them within the script, but that was a bad idea
because bash tends to mess with whitespace whenever it can.
It strips trailing newlines, for example.

So, best to use `cmp` to compare the files directly where possible.
@johnbartholomew johnbartholomew merged commit 3f56d4c into google:master Feb 19, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant