Skip to content

Commit

Permalink
jsonnet: Use language-specific heredoc delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
issyl0 authored Nov 19, 2024
1 parent b991012 commit 337c12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/j/jsonnet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ def install
end

test do
(testpath/"example.jsonnet").write <<~EOS
(testpath/"example.jsonnet").write <<~JSONNET
{
person1: {
name: "Alice",
welcome: "Hello " + self.name + "!",
},
person2: self.person1 { name: "Bob" },
}
EOS
JSONNET

expected_output = {
"person1" => {
Expand Down

0 comments on commit 337c12f

Please sign in to comment.