Skip to content

Commit

Permalink
statix: use language-specific heredoc delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
cho-m committed Dec 3, 2024
1 parent 80fed9c commit 1c347df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/s/statix.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ def install
end

test do
(testpath/"test.nix").write <<~EOS
(testpath/"test.nix").write <<~NIX
github:oppiliappan/statix
EOS
NIX
assert_match "Found unquoted URI expression", shell_output("#{bin}/statix check test.nix", 1)

system bin/"statix", "fix", "test.nix"
Expand Down

0 comments on commit 1c347df

Please sign in to comment.